Mercurial > emacs
changeset 94148:be53eb871301
(dired-omit-files-p): Use `define-obsolete-variable-alias'.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 18 Apr 2008 09:32:42 +0000 |
parents | 587f5f26f25d |
children | 17500cca17c4 |
files | lisp/dired-x.el |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired-x.el Fri Apr 18 09:30:36 2008 +0000 +++ b/lisp/dired-x.el Fri Apr 18 09:32:42 2008 +0000 @@ -170,8 +170,7 @@ (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.