emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is make-local-hook really obsolete?


From: Kim F. Storm
Subject: Is make-local-hook really obsolete?
Date: 01 Dec 2001 01:47:48 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

One shouldn't think so, considering the number of occurrences
in the lisp files:

/gnus/gnus-gl.el:813:      (make-local-hook 'gnus-select-article-hook)
/gnus/gnus-gl.el:815:      (make-local-hook 'gnus-exit-group-hook)
/gnus/gnus-msg.el:276:  (make-local-hook 'message-sent-hook)
/gnus/gnus-msg.el:280:    (make-local-hook 'message-header-hook)
/gnus/gnus-sum.el:2185:  (make-local-hook 'pre-command-hook)
/gnus/gnus-sum.el:7964:          (make-local-hook 'kill-buffer-hook)
/gnus/gnus-topic.el:1053:      (make-local-hook 'gnus-check-bogus-groups-hook)
/gnus/gnus-undo.el:117:    (make-local-hook 'post-command-hook)
/gnus/message.el:1506:  (make-local-hook 'kill-buffer-hook)
/ediff-util.el:297:      (make-local-hook 'ediff-after-quit-hook-internal)
/ediff-util.el:320:      (make-local-hook 'pre-command-hook)
/ediff-util.el:3848:  (make-local-hook 'post-command-hook)
/ediff-wind.el:1021:      (make-local-hook 'select-frame-hook)
/speedbar.el:1265:        ;; make-local-hook conventions.
/subr.el:688:(defun make-local-hook (hook)
/subr.el:717:(make-obsolete 'make-local-hook "Not necessary any more." "21.1")
/emulation/viper-cmd.el:301:  (make-local-hook 'viper-after-change-functions)
/emulation/viper-cmd.el:302:  (make-local-hook 'viper-before-change-functions)
/emulation/viper-cmd.el:303:  (make-local-hook 'viper-post-command-hooks)
/emulation/viper-cmd.el:304:  (make-local-hook 'viper-pre-command-hooks)
/eshell/em-alias.el:150:  (make-local-hook 'eshell-alternate-command-hook)
/eshell/em-alias.el:153:  (make-local-hook 'eshell-named-command-hook)
/eshell/em-cmpl.el:280:  (make-local-hook 'eshell-mode-hook)
/eshell/em-cmpl.el:286:  (make-local-hook 'pcomplete-quote-arg-hook)
/eshell/em-dirs.el:214:  (make-local-hook 'eshell-parse-argument-hook)
/eshell/em-dirs.el:222:    (make-local-hook 'pcomplete-try-first-hook)
/eshell/em-dirs.el:234:  (make-local-hook 'eshell-exit-hook)
/eshell/em-glob.el:135:  (make-local-hook 'eshell-parse-argument-hook)
/eshell/em-glob.el:137:  (make-local-hook 'eshell-pre-rewrite-command-hook)
/eshell/em-hist.el:210:  (make-local-hook 'eshell-expand-input-functions)
/eshell/em-hist.el:215:    (make-local-hook 'pcomplete-try-first-hook)
/eshell/em-hist.el:226: (make-local-hook 'isearch-mode-hook)
/eshell/em-hist.el:233: (make-local-hook 'isearch-mode-end-hook)
/eshell/em-hist.el:279:  (make-local-hook 'eshell-exit-hook)
/eshell/em-pred.el:258:  (make-local-hook 'eshell-parse-argument-hook)
/eshell/em-prompt.el:101:    (make-local-hook 'eshell-post-command-hook)
/eshell/em-rebind.el:150:    (make-local-hook 'eshell-mode-hook)
/eshell/em-rebind.el:152:    (make-local-hook 'pre-command-hook)
/eshell/em-rebind.el:155:    (make-local-hook 'post-command-hook)
/eshell/em-smart.el:175:    (make-local-hook 'window-scroll-functions)
/eshell/em-smart.el:179:    (make-local-hook 'eshell-output-filter-functions)
/eshell/em-smart.el:182:    (make-local-hook 'pre-command-hook)
/eshell/em-smart.el:183:    (make-local-hook 'after-change-functions)
/eshell/em-smart.el:186:    (make-local-hook 'eshell-input-filter-functions)
/eshell/em-smart.el:190:    (make-local-hook 'eshell-post-command-hook)
/eshell/em-unix.el:144:  (make-local-hook 'eshell-post-command-hook)
/eshell/em-unix.el:146:    (make-local-hook 'pcomplete-try-first-hook)
/eshell/esh-cmd.el:298:  (make-local-hook 'eshell-kill-hook)
/eshell/esh-cmd.el:305:  (make-local-hook 'eshell-post-command-hook)
/eshell/esh-cmd.el:312:  (make-local-hook 'eshell-parse-argument-hook)
/eshell/esh-cmd.el:319:    (make-local-hook 'pcomplete-try-first-hook)
/eshell/esh-ext.el:164:  (make-local-hook 'eshell-named-command-hook)
/eshell/esh-io.el:172:  (make-local-hook 'eshell-parse-argument-hook)
/eshell/esh-io.el:176:  (make-local-hook 'eshell-pre-rewrite-command-hook)
/eshell/esh-io.el:179:  (make-local-hook 'eshell-post-rewrite-command-hook)
/eshell/esh-mode.el:418:  (make-local-hook 'pre-command-hook)
/eshell/esh-mode.el:430:    (make-local-hook 'eshell-pre-command-hook)
/eshell/esh-mode.el:432:    (make-local-hook 'eshell-post-command-hook)
/eshell/esh-mode.el:435:  (make-local-hook 'kill-buffer-hook)
/eshell/esh-test.el:214:  (make-local-hook 'eshell-pre-command-hook)
/eshell/esh-test.el:223:  (make-local-hook 'eshell-post-command-hook)
/eshell/esh-var.el:211:  (make-local-hook 'eshell-parse-argument-hook)
/eshell/esh-var.el:214:  (make-local-hook 'eshell-prepare-command-hook)
/eshell/esh-var.el:219:    (make-local-hook 'pcomplete-try-first-hook)
/mail/mailabbrev.el:182:  (make-local-hook 'pre-abbrev-expand-hook)
/mail/rmail.el:3552:  (make-local-hook 'rmail-show-message-hook)
/mail/rmailsum.el:751:  (make-local-hook 'post-command-hook)
/net/rlogin.el:223:       ((fboundp 'make-local-hook)
/net/rlogin.el:224:        (make-local-hook 'comint-output-filter-functions)
/net/zone-mode.el:95:  (make-local-hook 'write-file-hooks)
/progmodes/ada-mode.el:817:      (make-local-hook 'after-change-functions)
/progmodes/ada-mode.el:1180:    (make-local-hook 'font-lock-mode-hook)
/progmodes/ada-xref.el:1933:  (make-local-hook 'ff-file-created-hooks)
/progmodes/ada-xref.el:1939:  (make-local-hook 'ff-pre-find-hooks)
/progmodes/cc-styles.el:500:    (make-local-hook 'c-special-indent-hook)
/progmodes/delphi.el:2028:  (make-local-hook 'after-change-functions)
/progmodes/idlw-shell.el:726:  (make-local-hook 'kill-buffer-hook)
/progmodes/idlw-shell.el:742:  (make-local-hook 'post-command-hook)
/progmodes/idlwave.el:1887:  (make-local-hook 'post-command-hook)
/progmodes/idlwave.el:1891:  (make-local-hook 'kill-buffer-hook)
/progmodes/idlwave.el:1893:  (make-local-hook 'after-save-hook)
/textmodes/reftex-index.el:302:  (make-local-hook 'post-command-hook)
/textmodes/reftex-index.el:303:  (make-local-hook 'pre-command-hook)
/textmodes/reftex-sel.el:52:  (make-local-hook 'pre-command-hook)
/textmodes/reftex-sel.el:53:  (make-local-hook 'post-command-hook)
/textmodes/reftex-sel.el:80:  (make-local-hook 'pre-command-hook)
/textmodes/reftex-sel.el:81:  (make-local-hook 'post-command-hook)
/textmodes/reftex-toc.el:65:  (make-local-hook 'post-command-hook)
/textmodes/reftex-toc.el:66:  (make-local-hook 'pre-command-hook)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]