(dired-mode): Simplify.
authorReiner Steib <Reiner.Steib@gmx.de>
Tue, 17 May 2005 17:23:36 +0000 (17:23 +0000)
committerReiner Steib <Reiner.Steib@gmx.de>
Tue, 17 May 2005 17:23:36 +0000 (17:23 +0000)
lisp/ChangeLog
lisp/dired.el

index 6a5aa6f..2cbb919 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-17  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * dired.el (dired-mode): Simplify.
+
 2005-05-17  Lute Kamstra  <lute@gnu.org>
 
        * emacs-lisp/easy-mmode.el (define-minor-mode): Don't generate a
index 60a9a7d..43f05dc 100644 (file)
@@ -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))
 \f
 ;; Idiosyncratic dired commands that don't deal with marks.