changeset 62439:af763a03ded2

(dired-mode): Simplify.
author Reiner Steib <Reiner.Steib@gmx.de>
date Tue, 17 May 2005 17:23:36 +0000
parents 5f5663f8c038
children cac7024af280
files lisp/ChangeLog lisp/dired.el
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue May 17 16:31:24 2005 +0000
+++ b/lisp/ChangeLog	Tue May 17 17:23:36 2005 +0000
@@ -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
--- a/lisp/dired.el	Tue May 17 16:31:24 2005 +0000
+++ b/lisp/dired.el	Tue May 17 17:23:36 2005 +0000
@@ -1549,9 +1549,8 @@
   (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.