From: Glenn Morris Date: Thu, 7 Oct 2010 17:17:18 +0000 (-0700) Subject: Rename shadow-mode. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~46^2~140 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ac44263aedb1c739c24687239e21d278645455c7;p=emacs.git Rename shadow-mode. * lisp/emacs-lisp/shadow.el (shadow-font-lock-keywords) (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to load-path-shadows-mode, update references. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a1ed3bdfe1b..0ae59478249 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2010-10-07 Glenn Morris + + * emacs-lisp/shadow.el (shadow-font-lock-keywords) + (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to + load-path-shadows-mode, update references. + 2010-10-07 Stefan Monnier * emacs-lisp/smie.el (smie-bnf-classify): New function. diff --git a/lisp/emacs-lisp/shadow.el b/lisp/emacs-lisp/shadow.el index 630aadba1d4..9297ee8b068 100644 --- a/lisp/emacs-lisp/shadow.el +++ b/lisp/emacs-lisp/shadow.el @@ -156,9 +156,9 @@ See the documentation for `list-load-path-shadows' for further information." `((,(format "hides \\(%s.*\\)" (file-name-directory (locate-library "simple.el"))) . (1 font-lock-warning-face))) - "Keywords to highlight in `shadow-mode'.") + "Keywords to highlight in `load-path-shadows-mode'.") -(define-derived-mode shadow-mode fundamental-mode "Shadow" +(define-derived-mode load-path-shadows-mode fundamental-mode "LP-Shadows" "Major mode for load-path shadows buffer." (set (make-local-variable 'font-lock-defaults) '((shadow-font-lock-keywords))) @@ -263,7 +263,7 @@ function, `find-emacs-lisp-shadows'." (let ((string (buffer-string))) (with-current-buffer (get-buffer-create "*Shadows*") (display-buffer (current-buffer)) - (shadow-mode) ; run after-change-major-mode-hook + (load-path-shadows-mode) ; run after-change-major-mode-hook (let ((inhibit-read-only t)) (erase-buffer) (insert string)