Current File : //proc/thread-self/root/kunden/kunden/proc/self/root/usr/share/emacs/27.2/lisp/mouse.elc |
;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(byte-code "\300\301\302\303#\210\304\305\306\307\310\311\310\312&\210\313\314\315\316\317DD\320\321\322%\210\313\323\315\316\324DD\325\321\322\326\327&\210\313\330\315\316\331DD\332\326\333\321\334&\210\313\335\315\316\336DD\337\321\322\326\333&\207" [put track-mouse lisp-indent-function 0 custom-declare-group mouse nil "Input from the mouse." :group environment editing custom-declare-variable mouse-yank-at-point funcall function #[0 "\300\207" [nil] 1] "If non-nil, mouse yank commands yank at point instead of at click." :type boolean mouse-drag-copy-region #[0 "\300\207" [nil] 1] "If non-nil, copy to kill-ring upon mouse adjustments of the region.\n\nThis affects `mouse-save-then-kill' (\\[mouse-save-then-kill]) in\naddition to mouse drags." :version "24.1" mouse-1-click-follows-link #[0 "\300\207" [450] 1] "Non-nil means that clicking Mouse-1 on a link follows the link.\n\nWith the default setting, an ordinary Mouse-1 click on a link\nperforms the same action as Mouse-2 on that link, while a longer\nMouse-1 click (hold down the Mouse-1 button for more than 450\nmilliseconds) performs the original Mouse-1 binding (which\ntypically sets point where you click the mouse).\n\nIf value is an integer, the time elapsed between pressing and\nreleasing the mouse button determines whether to follow the link\nor perform the normal Mouse-1 action (typically set point).\nThe absolute numeric value specifies the maximum duration of a\n\"short click\" in milliseconds. A positive value means that a\nshort click follows the link, and a longer click performs the\nnormal action. A negative value gives the opposite behavior.\n\nIf value is `double', a double click follows the link.\n\nOtherwise, a single Mouse-1 click unconditionally follows the link.\n\nNote that dragging the mouse never follows the link.\n\nThis feature only works in modes that specifically identify\nclickable text as links, so it may not work with some external\npackages. See `mouse-on-link-p' for details." "22.1" (choice (const :tag "Disabled" nil) (const :tag "Double click" double) (number :tag "Single click time limit" :value 450) (other :tag "Single click" t)) mouse-1-click-in-non-selected-windows #[0 "\300\207" [t] 1] "If non-nil, a Mouse-1 click also follows links in non-selected windows.\n\nIf nil, a Mouse-1 click on a link in a non-selected window performs\nthe normal mouse-1 binding, typically selects the window and sets\npoint at the click position."] 8)
(defvar mouse--last-down nil)
#@25
(fn &optional PROMPT)
(defalias 'mouse--down-1-maybe-follows-link #[256 "\203\n \242\303 B\304\207" [mouse-1-click-follows-link last-input-event mouse--last-down current-time nil] 3 (#$ . 2905)])
#@153 Turn `mouse-1' events into `mouse-2' events if follows-link.
Expects to be bound to `(double-)mouse-1' in `key-translation-map'.
(fn &optional PROMPT)
(defalias 'mouse--click-1-maybe-follows-link #[256 "\205\226 \204\n \304\207 \305=\203 \n\242\306=\2028 \n\242\307=\205\226 \247\203; \310W\203- \311\202. \312\313A!\314 !\315\245\"\205\226 @\316\317\n\242D!=\205\226 \320\321\n!!\211\205\224 \204a \322 \321\n!\211@\262=\205\224 \323!\203o \324\310H!\202\224 \305=\203y \325\202z \326\211\327N\204\211 \330\327\n@\327N#\210\n\211\240\266\324\n!\262\262\207" [mouse--last-down mouse-1-click-follows-link last-input-event mouse-1-click-in-non-selected-windows nil double double-mouse-1 mouse-1 0 #[514 "\300\"\207" [time-less-p] 5 "\n\n(fn A B)"] time-less-p time-since abs 1000.0 event-convert-list down mouse-on-link-p event-start selected-window arrayp vector double-mouse-2 mouse-2 event-kind put] 8 (#$ . 3113)])
(byte-code "\301\302\303#\210\301\304\303#\210\301\305\306#\210\301\307\306#\207" [key-translation-map define-key [down-mouse-1] mouse--down-1-maybe-follows-link [double-down-mouse-1] [mouse-1] mouse--click-1-maybe-follows-link [double-mouse-1]] 4)
#@215 Show menu for minor mode specified by INDICATOR.
Interactively, INDICATOR is read using completion.
If there is no menu defined for the minor mode, then create one with
items `Turn Off' and `Help'.
(fn INDICATOR)
(defalias 'minor-mode-menu-from-indicator #[257 "\301!\211\302N\206\n \211\204 \303\304\"\210\236\243\305!\205! \306\307\"\211\203+ \310!\202W \311!\205W \312\313\314\315\316\317\320\313\321
\"#!#\322\323\324F\325\323\326\327\330\331\332\333
DDFFF\262\211\203c \334!\202f \335\336!\266\202\207" [minor-mode-map-alist lookup-minor-mode-from-indicator :minor-mode-function error "Cannot find minor mode for `%s'" keymapp lookup-key [menu-bar] mouse-menu-non-singleton fboundp keymap format "%s - %s" capitalize replace-regexp-in-string "-" " " "%S" turn-off menu-item "Turn off minor mode" help "Help for minor mode" lambda nil (interactive) describe-function quote popup-menu message "No menu available"] 17 (#$ . 4310) (byte-code "\300\301\302 \"C\207" [completing-read "Minor mode indicator: " describe-minor-mode-completion-table-for-indicator] 3)])
#@82 Show minor-mode menu for EVENT on minor modes area of the mode line.
(fn EVENT)
(defalias 'mouse-minor-mode-menu #[257 "\300A@8@\301!\207" [4 minor-mode-menu-from-indicator] 4 (#$ . 5400) "@e"])
(defalias 'mouse-menu-major-mode-map #[0 "\302\303\304\"\210\305\306 \205 \307\310!!\211\203 \311\312!\313P!\202 \203'