diff 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
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