summaryrefslogtreecommitdiff
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorReiner Steib <Reiner.Steib@gmx.de>2005-05-17 17:23:36 +0000
committerReiner Steib <Reiner.Steib@gmx.de>2005-05-17 17:23:36 +0000
commit6ae53dc130b4f8b6bc6eee3c14c35aa062040e62 (patch)
treeb0f06c47ed88c9fe700db8dc4ba50c84384d72e1 /lisp/dired.el
parent194983ecb64dfee6e54638207b92d119c5b1b7a1 (diff)
downloademacs-6ae53dc130b4f8b6bc6eee3c14c35aa062040e62.tar.gz
(dired-mode): Simplify.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 60a9a7d35c1..43f05dcf881 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -1549,9 +1549,8 @@ Keybindings:
(setq dired-switches-alist nil)
(dired-sort-other dired-actual-switches t)
(when (featurep 'dnd)
- (make-local-variable 'dnd-protocol-alist)
- (setq dnd-protocol-alist
- (append dired-dnd-protocol-alist dnd-protocol-alist)))
+ (set (make-local-variable 'dnd-protocol-alist)
+ (append dired-dnd-protocol-alist dnd-protocol-alist)))
(run-mode-hooks 'dired-mode-hook))
;; Idiosyncratic dired commands that don't deal with marks.