mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-19 11:27:34 +00:00
(list-load-path-shadows): Setup a major mode
for the displayed buffer (bug#4887).
This commit is contained in:
parent
28259cac70
commit
32fe5377a3
2 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue