diff options
Diffstat (limited to 'lisp/dired.el')
-rw-r--r-- | lisp/dired.el | 5 |
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. |