summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2020-08-04 20:15:41 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2020-08-04 20:15:56 -0400
commit398242bb3f08db3be4d8f1a7a95ba44f7aea995c (patch)
tree5336fbb8edd4d0b812010cebe65886fa0ed344cd
parentcbb5a67effce7ce2923e498be252c7c8ad96ab53 (diff)
downloademacs-398242bb3f08db3be4d8f1a7a95ba44f7aea995c.tar.gz
* lisp/x-dnd.el: Use lexical-scoping
-rw-r--r--lisp/x-dnd.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/x-dnd.el b/lisp/x-dnd.el
index b22af5cc770..1d49f462531 100644
--- a/lisp/x-dnd.el
+++ b/lisp/x-dnd.el
@@ -1,4 +1,4 @@
-;;; x-dnd.el --- drag and drop support for X
+;;; x-dnd.el --- drag and drop support for X -*- lexical-binding: t; -*-
;; Copyright (C) 2004-2020 Free Software Foundation, Inc.
@@ -32,7 +32,7 @@
(require 'dnd)
;;; Customizable variables
-(defcustom x-dnd-test-function 'x-dnd-default-test-function
+(defcustom x-dnd-test-function #'x-dnd-default-test-function
"The function drag and drop uses to determine if to accept or reject a drop.
The function takes three arguments, WINDOW, ACTION and TYPES.
WINDOW is where the mouse is when the function is called. WINDOW may be a