comparison lisp/dired-x.el @ 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 107ccd98fa12
children 3849fa236ab2
comparison
equal deleted inserted replaced
94147:587f5f26f25d 94148:be53eb871301
168 ;; This will mention how many lines were omitted: 168 ;; This will mention how many lines were omitted:
169 (let ((dired-omit-size-limit nil)) (dired-omit-expunge)) 169 (let ((dired-omit-size-limit nil)) (dired-omit-expunge))
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.
178 This only has effect when `dired-omit-mode' is t. See interactive function 177 This only has effect when `dired-omit-mode' is t. See interactive function
179 `dired-omit-mode' \(\\[dired-omit-mode]\) and variable 178 `dired-omit-mode' \(\\[dired-omit-mode]\) and variable