From: Lute Kamstra Date: Thu, 26 May 2005 13:13:36 +0000 (+0000) Subject: Use run-mode-hooks in example. X-Git-Tag: emacs-pretest-22.0.90~9548 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1c4c2dac52dde09c0c25bf975a7410ccb203af16;p=emacs.git Use run-mode-hooks in example. --- diff --git a/lisp/comint.el b/lisp/comint.el index fbb5810de16..37550b7b6d9 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -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 diff --git a/lisp/skeleton.el b/lisp/skeleton.el index e843ef9f02d..d4caca3ca42 100644 --- a/lisp/skeleton.el +++ b/lisp/skeleton.el @@ -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)