[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r110031: * lisp/dired-aux.el (dired-d
From: |
Juri Linkov |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r110031: * lisp/dired-aux.el (dired-do-chmod): Use `eq' to detect empty input. |
Date: |
Sat, 15 Sep 2012 01:58:43 +0300 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 110031
fixes bug: http://debbugs.gnu.org/12399
committer: Juri Linkov <address@hidden>
branch nick: trunk
timestamp: Sat 2012-09-15 01:58:43 +0300
message:
* lisp/dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
modified:
lisp/ChangeLog
lisp/dired-aux.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-09-14 13:44:31 +0000
+++ b/lisp/ChangeLog 2012-09-14 22:58:43 +0000
@@ -1,3 +1,8 @@
+2012-09-14 Juri Linkov <address@hidden>
+
+ * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
+ (Bug#12399)
+
2012-09-14 Stefan Monnier <address@hidden>
* emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
=== modified file 'lisp/dired-aux.el'
--- a/lisp/dired-aux.el 2012-09-13 23:42:39 +0000
+++ b/lisp/dired-aux.el 2012-09-14 22:58:43 +0000
@@ -281,7 +281,10 @@
"Change mode of %s to: "
nil 'chmod arg files default))
num-modes)
- (cond ((equal modes "")
+ (cond ((or (equal modes "")
+ ;; Use `eq' instead of `equal'
+ ;; to detect empty input (bug#12399).
+ (eq modes default))
;; We used to treat empty input as DEFAULT, but that is not
;; such a good idea (Bug#9361).
(error "No file mode specified"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r110031: * lisp/dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.,
Juri Linkov <=