]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/net/tramp.el (tramp-get-debug-buffer): Fix error in setting local map.
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 7 Nov 2018 15:07:25 +0000 (16:07 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 7 Nov 2018 15:07:25 +0000 (16:07 +0100)
lisp/net/tramp.el

index 6d8e720563fe85ce861aba9ea42e89173afe52a9..34489b124222c1dbb357eafdb7428085e13c8cda 100644 (file)
@@ -1592,7 +1592,7 @@ The outline level is equal to the verbosity of the Tramp message."
       (set (make-local-variable 'outline-regexp) tramp-debug-outline-regexp)
       (set (make-local-variable 'outline-level) 'tramp-debug-outline-level)
       ;; Do not edit the debug buffer.
-      (set-keymap-parent (current-local-map) special-mode-map))
+      (use-local-map special-mode-map))
     (current-buffer)))
 
 (defsubst tramp-debug-message (vec fmt-string &rest arguments)