From e233e1000e6982f37c196dbd6b0f654ba61ffa08 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 19 Feb 2013 16:21:30 -0500 Subject: [PATCH] * lisp/net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not loaded while outline-regexp is let bound. (Bug#9584) --- lisp/ChangeLog | 5 +++++ lisp/net/tramp.el | 2 ++ 2 files changed, 7 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 390c825ad0..9fe6fd4f1f 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 6710c8a521..e392116d15 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". -- 2.20.1