From: Glenn Morris Date: Tue, 19 Feb 2013 21:21:30 +0000 (-0500) Subject: * lisp/net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not X-Git-Tag: emacs-24.3-rc1~37 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e233e1000e6982f37c196dbd6b0f654ba61ffa08;p=emacs.git * lisp/net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not loaded while outline-regexp is let bound. (Bug#9584) --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 390c825ad0a..9fe6fd4f1f9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-02-19 Glenn Morris + + * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not + loaded while outline-regexp is let bound. (Bug#9584) + 2013-02-19 Fabián Ezequiel Gallina * progmodes/python.el (python-info-current-defun): Fix failed diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 6710c8a5211..e392116d157 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el @@ -1299,6 +1299,8 @@ The outline level is equal to the verbosity of the Tramp message." (get-buffer-create (tramp-debug-buffer-name vec)) (when (bobp) (setq buffer-undo-list t) + ;; So it does not get loaded while outline-regexp is let-bound. + (require 'outline) ;; Activate `outline-mode'. This runs `text-mode-hook' and ;; `outline-mode-hook'. We must prevent that local processes ;; die. Yes: I've seen `flyspell-mode', which starts "ispell".