* lisp/net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not

loaded while outline-regexp is let bound.  (Bug#9584)
This commit is contained in:
Glenn Morris 2013-02-19 16:21:30 -05:00
parent 33c0cb2549
commit e233e1000e
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-02-19 Glenn Morris <rgm@gnu.org>
* 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 <fgallina@cuca>
* progmodes/python.el (python-info-current-defun): Fix failed

View file

@ -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".