Commit 32fe5377 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(list-load-path-shadows): Setup a major mode

for the displayed buffer (bug#4887).
parent 28259cac
2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
for the displayed buffer (bug#4887).
* man.el (Man-completion-table): New function.
(man): Use it.
......
......@@ -234,6 +234,7 @@ function, `find-emacs-lisp-shadows'."
;; Create the *Shadows* buffer and display shadowings there.
(let ((string (buffer-string)))
(with-current-buffer (get-buffer-create "*Shadows*")
(fundamental-mode) ;run after-change-major-mode-hook.
(display-buffer (current-buffer))
(setq buffer-undo-list t
buffer-read-only nil)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment