]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-omit-files-p): Use `define-obsolete-variable-alias'.
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 18 Apr 2008 09:32:42 +0000 (09:32 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 18 Apr 2008 09:32:42 +0000 (09:32 +0000)
lisp/dired-x.el

index 0d29dabecb65b5973ab325e45fac67458713637b..bd695b322e5ba62ad86dbe79f6ee83c9b2eb15e2 100644 (file)
@@ -170,8 +170,7 @@ plus those ending with extensions in `dired-omit-extensions'."
     (revert-buffer)))
 
 ;; For backward compatibility
-(defvaralias 'dired-omit-files-p 'dired-omit-mode)
-(make-obsolete-variable 'dired-omit-files-p 'dired-omit-mode)
+(define-obsolete-variable-alias 'dired-omit-files-p 'dired-omit-mode "22.1")
 
 (defcustom dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.$"
   "*Filenames matching this regexp will not be displayed.