summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/shadow.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-10-07 10:17:18 -0700
committerGlenn Morris <rgm@gnu.org>2010-10-07 10:17:18 -0700
commitac44263aedb1c739c24687239e21d278645455c7 (patch)
tree7e0fa0e7dc7479cee370ddd970889a6cca0e707d /lisp/emacs-lisp/shadow.el
parentfcf2d385f2b91b9cd24821ec8bf55fbfacd51ee7 (diff)
downloademacs-ac44263aedb1c739c24687239e21d278645455c7.tar.gz
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.
Diffstat (limited to 'lisp/emacs-lisp/shadow.el')
-rw-r--r--lisp/emacs-lisp/shadow.el6
1 files changed, 3 insertions, 3 deletions
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)