emacs-diffs
[Top][All Lists]
Advanced

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

master 66f6324a58: Fix compiler warning in x-dnd.el


From: Po Lu
Subject: master 66f6324a58: Fix compiler warning in x-dnd.el
Date: Fri, 25 Mar 2022 22:17:44 -0400 (EDT)

branch: master
commit 66f6324a58a9580f8a3f2f53532838c463581999
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix compiler warning in x-dnd.el
    
    * lisp/x-dnd.el (x-dnd-xdnd-to-action): Move declaration
    earlier.
---
 lisp/x-dnd.el | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/lisp/x-dnd.el b/lisp/x-dnd.el
index e801c4fdfc..17e65adc64 100644
--- a/lisp/x-dnd.el
+++ b/lisp/x-dnd.el
@@ -118,6 +118,14 @@ any protocol specific data.")
 (declare-function x-get-selection-internal "xselect.c"
                  (selection-symbol target-type &optional time-stamp terminal))
 
+(defconst x-dnd-xdnd-to-action
+  '(("XdndActionPrivate" . private)
+    ("XdndActionCopy" . copy)
+    ("XdndActionMove" . move)
+    ("XdndActionLink" . link)
+    ("XdndActionAsk" . ask))
+  "Mapping from XDND action types to Lisp symbols.")
+
 (defvar x-dnd-empty-state [nil nil nil nil nil nil nil])
 
 (declare-function x-register-dnd-atom "xselect.c")
@@ -394,14 +402,6 @@ Currently XDND, Motif and old KDE 1.x protocols are 
recognized."
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;;  XDND protocol.
 
-(defconst x-dnd-xdnd-to-action
-  '(("XdndActionPrivate" . private)
-    ("XdndActionCopy" . copy)
-    ("XdndActionMove" . move)
-    ("XdndActionLink" . link)
-    ("XdndActionAsk" . ask))
-  "Mapping from XDND action types to Lisp symbols.")
-
 (declare-function x-change-window-property "xfns.c"
                  (prop value &optional frame type format outer-P))
 



reply via email to

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