emacs-diffs
[Top][All Lists]
Advanced

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

master c9ede46: Make clone-buffer not unbind global variable


From: Lars Ingebrigtsen
Subject: master c9ede46: Make clone-buffer not unbind global variable
Date: Thu, 14 Nov 2019 00:46:27 -0500 (EST)

branch: master
commit c9ede465de7e1aaa692f12538adf2e35b9ed2748
Author: Braun Gábor <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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
---
 lisp/simple.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/simple.el b/lisp/simple.el
index 872fb13..e3ac709 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -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)



reply via email to

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