1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-20 18:17:20 +00:00

* lisp/dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.

Fixes: debbugs:12399
This commit is contained in:
Juri Linkov 2012-09-14 02:42:39 +03:00
parent 6a2e686836
commit 5b68b33315
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-09-13 Juri Linkov <juri@jurta.org>
* dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
(Bug#12399)
2012-09-13 Glenn Morris <rgm@gnu.org>
* calc/calc.el (math-compose-expr):

View File

@ -244,7 +244,10 @@ List has a form of (file-name full-file-name (attribute-list))."
(function dired-check-process)
(append
(list operation program)
(unless (string-equal new-attribute "")
(unless (or (string-equal new-attribute "")
;; Use `eq' instead of `equal'
;; to detect empty input (bug#12399).
(eq new-attribute default))
(if (eq op-symbol 'touch)
(list "-t" new-attribute)
(list new-attribute)))