Mercurial > emacs
diff lisp/emacs-lisp/shadow.el @ 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 | dd099beb5a5b |
children | 1d1d5d9bd884 |
line wrap: on
line diff
--- 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)