Mercurial > emacs
changeset 1879:c9b4ece292cc
(find-file-hooks): Delete permanent-local property.
(find-file-not-found-hooks): Likewise.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 15 Feb 1993 19:02:55 +0000 |
parents | 1c26d0049d4f |
children | 36ec0bfbb2c2 |
files | lisp/files.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/files.el Mon Feb 15 05:55:45 1993 +0000 +++ b/lisp/files.el Mon Feb 15 19:02:55 1993 +0000 @@ -159,14 +159,16 @@ (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