1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Make clone-buffer not unbind global variable

* lisp/simple.el (clone-buffer): Make clone-buffer not globally
unset locally void variable (bug#38179).

Copyright-paperwork-exempt: yes
This commit is contained in:
Braun Gábor 2019-11-14 06:45:37 +01:00 committed by Lars Ingebrigtsen
parent 6e2fd351c8
commit c9ede465de

View file

@ -8658,7 +8658,7 @@ after it has been set up properly in other respects."
(mapc (lambda (v)
(condition-case ()
(if (symbolp v)
(makunbound v)
(makunbound (make-local-variable v))
(set (make-local-variable (car v)) (cdr v)))
(setting-constant nil))) ;E.g. for enable-multibyte-characters.
lvars)