Mercurial > emacs
changeset 106223:21d623c57072
(list-load-path-shadows): Setup a major mode
for the displayed buffer (bug#4887).
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 24 Nov 2009 21:36:10 +0000 |
parents | 35b575add861 |
children | 647b4d392557 |
files | lisp/ChangeLog lisp/emacs-lisp/shadow.el |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Nov 24 21:33:23 2009 +0000 +++ b/lisp/ChangeLog Tue Nov 24 21:36:10 2009 +0000 @@ -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.
--- a/lisp/emacs-lisp/shadow.el Tue Nov 24 21:33:23 2009 +0000 +++ b/lisp/emacs-lisp/shadow.el Tue Nov 24 21:36:10 2009 +0000 @@ -234,6 +234,7 @@ ;; 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)