summaryrefslogtreecommitdiff
path: root/lisp/mouse.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-08-22 19:22:27 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-08-22 19:22:33 +0200
commit06d7161476255c77defa119fffa842b7abaa0dcb (patch)
treeaca4376ca4f4f2de9ce86461738802d1f18fff80 /lisp/mouse.el
parenta0fa6bd5470413ee7a40486aa89d3a0710c4f356 (diff)
downloademacs-06d7161476255c77defa119fffa842b7abaa0dcb.tar.gz
Fix some no-X build warnings
* lisp/cus-edit.el (fringe-bitmap-p): Autoload. * lisp/image.el (clear-image-cache): Declare. * lisp/mouse.el (dnd-begin-file-dram): Autoload. * lisp/thumbs.el (image-supported-file-p): Declare (bug#57342). * lisp/mail/rmailmm.el (rmail-mime-set-bulk-data): * lisp/emacs-lisp/icons.el (icons--create): Avoid warnings on no-X builds.
Diffstat (limited to 'lisp/mouse.el')
-rw-r--r--lisp/mouse.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mouse.el b/lisp/mouse.el
index bee664dc568..e38a4f8a71a 100644
--- a/lisp/mouse.el
+++ b/lisp/mouse.el
@@ -869,6 +869,9 @@ must be one of the symbols `header', `mode', or `vertical'."
map)
t (lambda () (setq track-mouse old-track-mouse)))))))
+;; In no-X builds, dnd.el isn't preloaded.
+(autoload 'dnd-begin-file-drag "dnd")
+
(defun mouse-drag-mode-line (start-event)
"Change the height of a window by dragging on its mode line.
START-EVENT is the starting mouse event of the drag action.