emacs-humanities
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-humanities] Form-feed as literary-style scene breaks


From: Eli Zaretskii
Subject: Re: [emacs-humanities] Form-feed as literary-style scene breaks
Date: Mon, 18 Jan 2021 18:52:48 +0200

> Date: Tue, 19 Jan 2021 00:08:27 +1000
> From: "Paul W. Rankin" <pwr@bydasein.com>
> Cc: emacs-humanities@gnu.org
> 
> Given the intent that the above code should be a drop-in for anyone 
> wanting that kind of a form-feed, what is the best way to go about it to 
> avoid the arrayp error?

As the ELisp manual says, standard-display-table is nil by default on
many systems, so the usual safe paradigm is something like

  (aset (or standard-display-table
            (setq standard-display-table (make-display-table)))
        ...)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]