comparison lisp/files.el @ 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 8e52d9366e6c
children c4ff65277bb3
comparison
equal deleted inserted replaced
1878:1c26d0049d4f 1879:c9b4ece292cc
157 Loading an abbrev file sets this to t.") 157 Loading an abbrev file sets this to t.")
158 158
159 (defconst find-file-run-dired t 159 (defconst find-file-run-dired t
160 "*Non-nil says run dired if find-file is given the name of a directory.") 160 "*Non-nil says run dired if find-file is given the name of a directory.")
161 161
162 (put 'find-file-not-found-hooks 'permanent-local t) 162 ;;;It is not useful to make this a local variable.
163 ;;;(put 'find-file-not-found-hooks 'permanent-local t)
163 (defvar find-file-not-found-hooks nil 164 (defvar find-file-not-found-hooks nil
164 "List of functions to be called for `find-file' on nonexistent file. 165 "List of functions to be called for `find-file' on nonexistent file.
165 These functions are called as soon as the error is detected. 166 These functions are called as soon as the error is detected.
166 `buffer-file-name' is already set up. 167 `buffer-file-name' is already set up.
167 The functions are called in the order given until one of them returns non-nil.") 168 The functions are called in the order given until one of them returns non-nil.")
168 169
169 (put 'find-file-hooks 'permanent-local t) 170 ;;;It is not useful to make this a local variable.
171 ;;;(put 'find-file-hooks 'permanent-local t)
170 (defvar find-file-hooks nil 172 (defvar find-file-hooks nil
171 "List of functions to be called after a buffer is loaded from a file. 173 "List of functions to be called after a buffer is loaded from a file.
172 The buffer's local variables (if any) will have been processed before the 174 The buffer's local variables (if any) will have been processed before the
173 functions are called.") 175 functions are called.")
174 176