diff options
| author | Juanma Barranquero | 2008-04-18 09:32:42 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-04-18 09:32:42 +0000 |
| commit | cf24b82d375aae912f54a9fb5995f93dc407ad73 (patch) | |
| tree | 09a743a5994ba55d3af75eb79710ce5070c95374 | |
| parent | 781424c2f372d40d69d6aa77d62adc236e795323 (diff) | |
| download | emacs-cf24b82d375aae912f54a9fb5995f93dc407ad73.tar.gz emacs-cf24b82d375aae912f54a9fb5995f93dc407ad73.zip | |
(dired-omit-files-p): Use `define-obsolete-variable-alias'.
| -rw-r--r-- | lisp/dired-x.el | 3 |
1 files changed, 1 insertions, 2 deletions
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'." | |||
| 170 | (revert-buffer))) | 170 | (revert-buffer))) |
| 171 | 171 | ||
| 172 | ;; For backward compatibility | 172 | ;; For backward compatibility |
| 173 | (defvaralias 'dired-omit-files-p 'dired-omit-mode) | 173 | (define-obsolete-variable-alias 'dired-omit-files-p 'dired-omit-mode "22.1") |
| 174 | (make-obsolete-variable 'dired-omit-files-p 'dired-omit-mode) | ||
| 175 | 174 | ||
| 176 | (defcustom dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.$" | 175 | (defcustom dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.$" |
| 177 | "*Filenames matching this regexp will not be displayed. | 176 | "*Filenames matching this regexp will not be displayed. |