Mercurial > emacs
comparison lisp/obsolete/hilit19.el @ 46899:f00337f04e78
Use find-file-hook instead of find-file-hooks.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Thu, 15 Aug 2002 00:48:20 +0000 |
parents | 7308bbc423d5 |
children | 0d8b17d428b5 |
comparison
equal
deleted
inserted
replaced
46898:0b0448a9c183 | 46899:f00337f04e78 |
---|---|
954 (substitute-key-definition 'recenter 'hilit-recenter | 954 (substitute-key-definition 'recenter 'hilit-recenter |
955 (current-global-map)))) | 955 (current-global-map)))) |
956 | 956 |
957 (global-set-key [?\C-\S-l] 'hilit-repaint-command) | 957 (global-set-key [?\C-\S-l] 'hilit-repaint-command) |
958 | 958 |
959 (add-hook 'find-file-hooks 'hilit-find-file-hook t) | 959 (add-hook 'find-file-hook 'hilit-find-file-hook t) |
960 | 960 |
961 (eval-when-compile (require 'gnus)) ; no compilation gripes | 961 (eval-when-compile (require 'gnus)) ; no compilation gripes |
962 | 962 |
963 (and (not hilit-inhibit-hooks) | 963 (and (not hilit-inhibit-hooks) |
964 (condition-case c | 964 (condition-case c |