Fix 'setting-constant enable-multibyte-characters' error
Regression caused by 78dde6efd
.
Mentioned in #5133
This commit is contained in:
parent
78dde6efdd
commit
9fb96f9eeb
1 changed files with 1 additions and 1 deletions
|
@ -167,7 +167,7 @@ See `+format/buffer' for the interactive version of this function, and
|
||||||
in (cl-remove-if-not #'listp (buffer-local-variables (current-buffer)))
|
in (cl-remove-if-not #'listp (buffer-local-variables (current-buffer)))
|
||||||
;; Making enable-multibyte-characters buffer-local
|
;; Making enable-multibyte-characters buffer-local
|
||||||
;; causes an error.
|
;; causes an error.
|
||||||
unless (eq var enable-multibyte-characters)
|
unless (eq var 'enable-multibyte-characters)
|
||||||
;; Fixes #5133: don't deal with complicated hook
|
;; Fixes #5133: don't deal with complicated hook
|
||||||
;; functionality! This isn't a real buffer anyway.
|
;; functionality! This isn't a real buffer anyway.
|
||||||
unless (string-match-p (symbol-name var) "-\\(hook\\|functions\\)$")
|
unless (string-match-p (symbol-name var) "-\\(hook\\|functions\\)$")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue