summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-04-12 03:17:19 +0000
committerGlenn Morris <rgm@gnu.org>2008-04-12 03:17:19 +0000
commitcd6ef82d85dcd34f98b2ae6cec97b495f9a4e8ca (patch)
treed7cef036c6b82dcaed2f123dbf0e6c64daa7d1bf /lisp/files.el
parentf8754ca2dea51bbcddb30dedc4c4d1e6383fa0c1 (diff)
downloademacs-cd6ef82d85dcd34f98b2ae6cec97b495f9a4e8ca.tar.gz
Move non-autoloaded define-obsolete-variable-alias calls for
defcustoms not in dumped files before the associated defcustom.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index a9beff39862..07b8a0688ff 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -404,6 +404,7 @@ The functions are called in the order given until one of them returns non-nil.")
;;;It is not useful to make this a local variable.
;;;(put 'find-file-hooks 'permanent-local t)
+(define-obsolete-variable-alias 'find-file-hooks 'find-file-hook "22.1")
(defcustom find-file-hook 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
@@ -412,7 +413,6 @@ functions are called."
:type 'hook
:options '(auto-insert)
:version "22.1")
-(define-obsolete-variable-alias 'find-file-hooks 'find-file-hook "22.1")
(defvar write-file-functions nil
"List of functions to be called before writing out a buffer to a file.