mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* lisp/dired.el (dired-safe-switches-p): New function. (Bug#3230)
This commit is contained in:
parent
6640b281f3
commit
75da6eb972
2 changed files with 7 additions and 0 deletions
|
|
@ -249,6 +249,9 @@ Local to each dired buffer. May be a list, in which case the car is the
|
|||
directory name and the cdr is the list of files to mention.
|
||||
The directory name must be absolute, but need not be fully expanded.")
|
||||
|
||||
(defun dired-safe-switches-p (switches)
|
||||
(string-match "\\`[- [:alnum:]]+\\'" switches))
|
||||
|
||||
(defvar dired-actual-switches nil
|
||||
"The value of `dired-listing-switches' used to make this buffer's text.")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue