# HG changeset patch # User Glenn Morris # Date 1207970096 0 # Node ID bb548969ef2da1e23dc00c6d1a7bf8425af33102 # Parent 85846e73fafe3ab84aa2bf41f7f1be279c4a8d22 Move non-autoloaded define-obsolete-variable-alias calls for defcustoms not in dumped files before the associated defcustom. diff -r 85846e73fafe -r bb548969ef2d lisp/files.el --- a/lisp/files.el Sat Apr 12 03:14:43 2008 +0000 +++ b/lisp/files.el Sat Apr 12 03:14:56 2008 +0000 @@ -404,6 +404,7 @@ ;;;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 @@ :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.