emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 398242b: * lisp/x-dnd.el: Use lexical-scoping


From: Stefan Monnier
Subject: master 398242b: * lisp/x-dnd.el: Use lexical-scoping
Date: Tue, 4 Aug 2020 20:16:02 -0400 (EDT)

branch: master
commit 398242bb3f08db3be4d8f1a7a95ba44f7aea995c
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * lisp/x-dnd.el: Use lexical-scoping
---
 lisp/x-dnd.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/x-dnd.el b/lisp/x-dnd.el
index b22af5cc..1d49f46 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]