Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
75da6eb9
Commit
75da6eb9
authored
Feb 28, 2011
by
Stefan Monnier
Committed by
Glenn Morris
Feb 28, 2011
Browse files
* lisp/dired.el (dired-safe-switches-p): New function. (Bug#3230)
parent
6640b281
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/dired.el
lisp/dired.el
+3
-0
No files found.
lisp/ChangeLog
View file @
75da6eb9
2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
* dired.el (dired-safe-switches-p): New function.
2011-03-01 Glenn Morris <rgm@gnu.org>
* files.el (dir-locals-collect-variables):
...
...
lisp/dired.el
View file @
75da6eb9
...
...
@@ -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."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment