From: Stefan Monnier Date: Wed, 5 Aug 2020 00:15:41 +0000 (-0400) Subject: * lisp/x-dnd.el: Use lexical-scoping X-Git-Tag: emacs-28.0.90~6816 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=398242bb3f08db3be4d8f1a7a95ba44f7aea995c;p=emacs.git * lisp/x-dnd.el: Use lexical-scoping --- 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