mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-24 22:02:52 +00:00
org-macs.el: Fix Emacs-26 compatibility
lisp/org-macs.el (org-string-width): Avoid multiple variables in `setq-local' since it is not supported by Emacs-26. The code caused the issue was added in 0c29f53ab8723.
This commit is contained in:
parent
cfea24dc15
commit
2f79c63c2c
|
@ -1117,9 +1117,9 @@ Return width in pixels when PIXELS is non-nil."
|
|||
result)))
|
||||
(current-char-property-alias-alist char-property-alias-alist))
|
||||
(with-current-buffer (get-buffer-create " *Org string width*")
|
||||
(setq-local display-line-numbers nil
|
||||
line-prefix nil
|
||||
wrap-prefix nil)
|
||||
(setq-local display-line-numbers nil)
|
||||
(setq-local line-prefix nil)
|
||||
(setq-local wrap-prefix nil)
|
||||
(setq-local buffer-invisibility-spec
|
||||
(if (listp current-invisibility-spec)
|
||||
(mapcar (lambda (el)
|
||||
|
|
Loading…
Reference in a new issue