diff options
| author | Richard M. Stallman <rms@gnu.org> | 1993-02-15 19:02:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman <rms@gnu.org> | 1993-02-15 19:02:55 +0000 |
| commit | 92966e6f18c6f74e035d9020083f8c3f047014a7 (patch) | |
| tree | 44cee43bc3bc23062973ba73d2f6b82e1c4ae2f0 /lisp/files.el | |
| parent | a5f217b86ea1ed853fc1b20fc2803de2547be3d9 (diff) | |
| download | emacs-92966e6f18c6f74e035d9020083f8c3f047014a7.tar.gz | |
(find-file-hooks): Delete permanent-local property.
(find-file-not-found-hooks): Likewise.
Diffstat (limited to 'lisp/files.el')
| -rw-r--r-- | lisp/files.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/files.el b/lisp/files.el index 8e014c53aab..d2a30fe43a0 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -159,14 +159,16 @@ Loading an abbrev file sets this to t.") (defconst find-file-run-dired t "*Non-nil says run dired if find-file is given the name of a directory.") -(put 'find-file-not-found-hooks 'permanent-local t) +;;;It is not useful to make this a local variable. +;;;(put 'find-file-not-found-hooks 'permanent-local t) (defvar find-file-not-found-hooks nil "List of functions to be called for `find-file' on nonexistent file. These functions are called as soon as the error is detected. `buffer-file-name' is already set up. The functions are called in the order given until one of them returns non-nil.") -(put 'find-file-hooks 'permanent-local t) +;;;It is not useful to make this a local variable. +;;;(put 'find-file-hooks 'permanent-local t) (defvar find-file-hooks nil "List of functions to be called after a buffer is loaded from a file. The buffer's local variables (if any) will have been processed before the |
