From 6ae53dc130b4f8b6bc6eee3c14c35aa062040e62 Mon Sep 17 00:00:00 2001 From: Reiner Steib Date: Tue, 17 May 2005 17:23:36 +0000 Subject: [PATCH] (dired-mode): Simplify. --- lisp/ChangeLog | 4 ++++ lisp/dired.el | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6a5aa6f645c..2cbb9196005 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2005-05-17 Reiner Steib + + * dired.el (dired-mode): Simplify. + 2005-05-17 Lute Kamstra * emacs-lisp/easy-mmode.el (define-minor-mode): Don't generate a 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. -- 2.39.2