Use run-mode-hooks in example.
authorLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 13:13:36 +0000 (13:13 +0000)
committerLute Kamstra <lute@gnu.org>
Thu, 26 May 2005 13:13:36 +0000 (13:13 +0000)
lisp/comint.el
lisp/skeleton.el

index fbb5810..37550b7 100644 (file)
@@ -3437,7 +3437,7 @@ REGEXP-GROUP is the regular expression group in REGEXP to use."
 ;;   (make-local-variable 'shell-directory-stack)
 ;;   (setq shell-directory-stack nil)
 ;;   (add-hook 'comint-input-filter-functions 'shell-directory-tracker)
-;;   (run-hooks 'shell-mode-hook))
+;;   (run-mode-hooks 'shell-mode-hook))
 ;;
 ;;
 ;; Completion for comint-mode users
index e843ef9..d4caca3 100644 (file)
@@ -557,7 +557,7 @@ symmetrical ones, and the same character twice for the others."
 ;;      (aset map i nil)
 ;;      (aset map (+ i 128) nil)
 ;;      (setq i (1+ i))))
-;;  (run-hooks 'mirror-mode-hook))
+;;  (run-mode-hooks 'mirror-mode-hook))
 
 (provide 'skeleton)