emacs-devel
[Top][All Lists]
Advanced

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

Re: Proposal: make insert-pair-alist buffer local


From: Eli Zaretskii
Subject: Re: Proposal: make insert-pair-alist buffer local
Date: Thu, 23 Dec 2021 20:15:16 +0200

> From: Juri Linkov <juri@linkov.net>
> Date: Thu, 23 Dec 2021 19:12:54 +0200
> Cc: emacs-devel <emacs-devel@gnu.org>
> 
>   (and (memq buffer-file-coding-system '(utf-8 utf-8-unix utf-8-emacs-unix))

You want coding-system-base here instead of an (incomplete)
enumeration of possible variants.

(And requiring just UTF-8 is too restrictive: those characters can be
encoded by many more coding-systems.  It is better to use
unencodable-char-position instead.)



reply via email to

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