aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2009-11-24 21:36:10 +0000
committerStefan Monnier2009-11-24 21:36:10 +0000
commit32fe5377a352fe554a9bf95f87aaf862abc18794 (patch)
tree460e37fc1e725127bc6730e35c2d3f6233721195
parent28259cac7074d41fe11603fc3f0954397036583e (diff)
downloademacs-32fe5377a352fe554a9bf95f87aaf862abc18794.tar.gz
emacs-32fe5377a352fe554a9bf95f87aaf862abc18794.zip
(list-load-path-shadows): Setup a major mode
for the displayed buffer (bug#4887).
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/emacs-lisp/shadow.el1
2 files changed, 4 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 65e2dff9e2c..b0cc109162b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12009-11-24 Stefan Monnier <monnier@iro.umontreal.ca> 12009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
4 for the displayed buffer (bug#4887).
5
3 * man.el (Man-completion-table): New function. 6 * man.el (Man-completion-table): New function.
4 (man): Use it. 7 (man): Use it.
5 8
diff --git a/lisp/emacs-lisp/shadow.el b/lisp/emacs-lisp/shadow.el
index 9111dde7de7..5087822444c 100644
--- a/lisp/emacs-lisp/shadow.el
+++ b/lisp/emacs-lisp/shadow.el
@@ -234,6 +234,7 @@ function, `find-emacs-lisp-shadows'."
234 ;; Create the *Shadows* buffer and display shadowings there. 234 ;; Create the *Shadows* buffer and display shadowings there.
235 (let ((string (buffer-string))) 235 (let ((string (buffer-string)))
236 (with-current-buffer (get-buffer-create "*Shadows*") 236 (with-current-buffer (get-buffer-create "*Shadows*")
237 (fundamental-mode) ;run after-change-major-mode-hook.
237 (display-buffer (current-buffer)) 238 (display-buffer (current-buffer))
238 (setq buffer-undo-list t 239 (setq buffer-undo-list t
239 buffer-read-only nil) 240 buffer-read-only nil)