From: Juanma Barranquero Date: Fri, 18 Apr 2008 09:32:42 +0000 (+0000) Subject: (dired-omit-files-p): Use `define-obsolete-variable-alias'. X-Git-Tag: emacs-pretest-23.0.90~6223 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf24b82d375aae912f54a9fb5995f93dc407ad73;p=emacs.git (dired-omit-files-p): Use `define-obsolete-variable-alias'. --- diff --git a/lisp/dired-x.el b/lisp/dired-x.el index 0d29dabecb6..bd695b322e5 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el @@ -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.