aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLute Kamstra2005-05-26 12:34:51 +0000
committerLute Kamstra2005-05-26 12:34:51 +0000
commit95ea7b285fdc68be88dcb87bf4cd4254ff239876 (patch)
treea4e7eb283f48048c4e17fc23d21ab1b126db27ec
parent262f835258eda1bfb1414e2e5329b02503fca953 (diff)
downloademacs-95ea7b285fdc68be88dcb87bf4cd4254ff239876.tar.gz
emacs-95ea7b285fdc68be88dcb87bf4cd4254ff239876.zip
(command-history-mode): Use run-mode-hooks.
-rw-r--r--lisp/chistory.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/chistory.el b/lisp/chistory.el
index dde30c75e0e..ddbc0863a0e 100644
--- a/lisp/chistory.el
+++ b/lisp/chistory.el
@@ -145,7 +145,7 @@ Keybindings:
145 (setq major-mode 'command-history-mode) 145 (setq major-mode 'command-history-mode)
146 (setq mode-name "Command History") 146 (setq mode-name "Command History")
147 (use-local-map command-history-map) 147 (use-local-map command-history-map)
148 (run-hooks 'command-history-mode-hook)) 148 (run-mode-hooks 'command-history-mode-hook))
149 149
150(defun Command-history-setup () 150(defun Command-history-setup ()
151 (kill-all-local-variables) 151 (kill-all-local-variables)