;ELC   
;;; Compiled
;;; in Emacs version 29.4
;;; with all optimizations.



(require 'timer)#@50 Alist of all installed mouse wheel key bindings.
(defvar mouse-wheel--installed-bindings-alist nil (#$ . 100))#@19 

(fn VAR BUTTON)
(defalias 'mouse-wheel-change-button #[514 "\302\"\210\205 \303\301!\205 	\205 \301\304!\207" [mouse-wheel--installed-bindings-alist mouse-wheel-mode set-default boundp 1] 5 (#$ . 216)])
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313&	\210\300\314\302\303\315DD\316\306\307\310\311\317\320\312\313&\210\300\321\302\303\322DD\323\306\307\310\311\312\313&	\210\300\324\302\303\325DD\326\306\307\310\311\317\320\312\313&\210\300\327\302\303\330DD\331\306\307\310\311\312\313&	\210\300\332\302\303\333DD\334\306\307\310\335&\210\300\336\302\303\337DD\340\306\307\310\341\312\313\317\342&\210\300\343\302\303\344DD\345\306\307\310\346&\210\300\347\302\303\350DD\351\306\307\310\346&\210\300\352\302\303\353DD\354\306\307\310\335\317\342&	\210\300\355\302\303\356DD\357\306\307\310\346\317\360&	\210\300\361\302\303\362DD\363\306\307\310\346\317\360&	\207" [custom-declare-variable mouse-wheel-down-event funcall function #[0 "\300\301!\204 \300\302!\204 \300\303!\204 \300\304!\203 \305\207\306\207" [featurep w32-win ns-win haiku-win pgtk-win wheel-up mouse-4] 2 #1=""] "Event used for scrolling down." :group mouse :type symbol :set mouse-wheel-change-button mouse-wheel-down-alternate-event #[0 "\300\301!\203 \302\207\300\303!?\205 \304\207" [featurep xinput2 wheel-up x mouse-4] 2 #1#] "Alternative wheel down event to consider." :version "29.1" mouse-wheel-up-event #[0 "\300\301!\204 \300\302!\204 \300\303!\204 \300\304!\203 \305\207\306\207" [featurep w32-win ns-win haiku-win pgtk-win wheel-down mouse-5] 2 #1#] "Event used for scrolling up." mouse-wheel-up-alternate-event #[0 "\300\301!\203 \302\207\300\303!?\205 \304\207" [featurep xinput2 wheel-down x mouse-5] 2 #1#] "Alternative wheel up event to consider." mouse-wheel-click-event #[0 "\300\207" [mouse-2] 1 #1#] "Event that should be temporarily inhibited after mouse scrolling.\nThe mouse wheel is typically on the mouse-2 button, so it may easily\nhappen that text is accidentally yanked into the buffer when\nscrolling with the mouse wheel.  To prevent that, this variable can be\nset to the event sent when clicking on the mouse wheel button." mouse-wheel-inhibit-click-time #[0 "\300\207" [0.35] 1 #1#] "Time in seconds to inhibit clicking on mouse wheel button after scroll." number mouse-wheel-scroll-amount #[0 "\300\207" [(1 ((shift) . hscroll) ((meta)) ((control meta) . global-text-scale) ((control) . text-scale))] 1 #1#] "Amount to scroll windows by when spinning the mouse wheel.\nThis is an alist mapping the modifier key to the amount to scroll when\nthe wheel is moved with the modifier key depressed.\nElements of the list have the form (MODIFIER . AMOUNT) or just AMOUNT if\nMODIFIER is nil.\n\nAMOUNT should be the number of lines to scroll, or nil for near full\nscreen.  It can also be a floating point number, specifying the fraction of\na full screen to scroll.  A near full screen is `next-screen-context-lines'\nless than a full screen.\n\nIf AMOUNT is the symbol `hscroll', this means that with MODIFIER,\nthe mouse wheel will scroll horizontally instead of vertically.\n\nIf AMOUNT is the symbol `text-scale' or `global-text-scale', this\nmeans that with MODIFIER, the mouse wheel will change the font size\ninstead of scrolling (by adjusting the font height of the default\nface, either locally in the buffer or globally).  For more\ninformation, see `text-scale-adjust' and `global-text-scale-adjust'." (cons (choice :tag "Normal" (const :tag "Full screen" :value nil) (integer :tag "Specific # of lines") (float :tag "Fraction of window") (cons (repeat (choice :tag "modifier" (const alt) (const control) (const hyper) (const meta) (const shift) (const super))) (choice :tag "action" (const :tag "Scroll full screen" :value nil) (integer :tag "Scroll specific # of lines") (float :tag "Scroll fraction of window")))) (repeat (cons (repeat (choice :tag "modifier" (const alt) (const control) (const hyper) (const meta) (const shift) (const super))) (choice :tag "action" (const :tag "Scroll full screen" :value nil) (integer :tag "Scroll specific # of lines") (float :tag "Scroll fraction of window") (const :tag "Scroll horizontally" :value hscroll) (const :tag "Change buffer face size" :value text-scale) (const :tag "Change global face size" :value global-text-scale))))) "28.1" mouse-wheel-progressive-speed #[0 "\300\207" [t] 1 #1#] "If nil, scrolling speed is proportional to the wheel speed.\nIf non-nil, moving the wheel faster will make scrolling\nprogressively faster.\n\nNote that this has no effect when `mouse-wheel-scroll-amount' specifies\na \"near full screen\" scroll or when the mouse wheel sends key instead\nof button events." boolean mouse-wheel-follow-mouse #[0 "\300\207" [t] 1 #1#] "Whether the mouse wheel should scroll the window that the mouse is over.\nThis affects both the commands for scrolling and changing the\nface height." mouse-wheel-scroll-amount-horizontal #[0 "\300\207" [1] 1 #1#] "Amount to scroll windows horizontally.\nIts value can be changed dynamically by using a numeric prefix argument\nbefore starting horizontal scrolling.\nIt has effect when `mouse-wheel-scroll-amount' binds the value `hscroll'\nto one of modifiers (`Shift' by default)." mouse-wheel-tilt-scroll #[0 "\300\207" [nil] 1 #1#] "Enable horizontal scrolling by tilting mouse wheel or via touchpad.\nAlso see `mouse-wheel-flip-direction'." "26.1" mouse-wheel-flip-direction #[0 "\300\207" [nil] 1 #1#] "Swap direction of `wheel-right' and `wheel-left'.\nBy default, `wheel-right' scrolls the text to the right,\nand `wheel-left' scrolls in the other direction.\nIf this variable is non-nil, it inverts the direction of\nhorizontal scrolling by tilting the mouse wheel.\nAlso see `mouse-wheel-tilt-scroll'."] 12)#@14 

(fn EVENT)
(defalias 'mwheel-event-button #[257 "\302!\211\303=\203 AAA@\211\304W\203 \207	\207\207" [mouse-wheel-up-event mouse-wheel-down-event event-basic-type mouse-wheel 0] 5 (#$ . 5999)])#@14 

(fn EVENT)
(defalias 'mwheel-event-window #[257 "\300!\211@\207" [event-start] 3 (#$ . 6205)])#@59 Timer running while mouse wheel click event is inhibited.
(defvar mwheel-inhibit-click-event-timer nil (#$ . 6308))#@49 Handler for `mwheel-inhibit-click-event-timer'.
(defalias 'mwheel-inhibit-click-timeout #[0 "\301\302\303\304\"\207" [mwheel-inhibit-click-event-timer nil remove-hook pre-command-hook mwheel-filter-click-events] 3 (#$ . 6429)])#@62 Discard `mouse-wheel-click-event' while scrolling the mouse.
(defalias 'mwheel-filter-click-events #[0 "\303!	=\205 \304\211\207" [last-input-event mouse-wheel-click-event this-command event-basic-type ignore] 2 (#$ . 6663)])#@49 Function that does the job of scrolling upward.
(defvar mwheel-scroll-up-function 'scroll-up (#$ . 6897))#@51 Function that does the job of scrolling downward.
(defvar mwheel-scroll-down-function 'scroll-down (#$ . 7008))#@47 Function that does the job of scrolling left.
(defvar mwheel-scroll-left-function 'scroll-left (#$ . 7125))#@48 Function that does the job of scrolling right.
(defvar mwheel-scroll-right-function 'scroll-right (#$ . 7238))#@32 Event used for scrolling left.
(defvar mouse-wheel-left-event (byte-code "\300\301!\204 \300\302!\204 \300\303!\204 \300\304!\203 \305\207\306\207" [featurep w32-win ns-win haiku-win pgtk-win wheel-left mouse-6] 2) (#$ . 7354))#@43 Alternative wheel left event to consider.
(defvar mouse-wheel-left-alternate-event (byte-code "\300\301!\203 \302\207\300\303!?\205 \304\207" [featurep xinput2 wheel-left x mouse-6] 2) (#$ . 7591))#@33 Event used for scrolling right.
(defvar mouse-wheel-right-event (byte-code "\300\301!\204 \300\302!\204 \300\303!\204 \300\304!\203 \305\207\306\207" [featurep w32-win ns-win haiku-win pgtk-win wheel-right mouse-7] 2) (#$ . 7796))#@44 Alternative wheel right event to consider.
(defvar mouse-wheel-right-alternate-event (byte-code "\300\301!\203 \302\207\300\303!?\205 \304\207" [featurep xinput2 wheel-right x mouse-7] 2) (#$ . 8036))#@196 Return window for mouse wheel event EVENT.
If `mouse-wheel-follow-mouse' is non-nil, return the window that
the mouse pointer is over.  Otherwise, return the currently
active window.

(fn EVENT)
(defalias 'mouse-wheel--get-scroll-window #[257 "\30127 \203 \302!\202 \303 \304!\205 \305\306!\307\"\310!\2054 \311 \211@A\312\313\314#\315\316$\266\203\266\2020\206= \302!\207" [mouse-wheel-follow-mouse found mwheel-event-window selected-window window-live-p frame-parameter window-frame mouse-wheel-frame frame-live-p mouse-absolute-pixel-position walk-window-tree make-closure #[257 "\302\303\304\211$\211@\301X\205) \301\3058X\205) \211A@\300X\205) \300\3068X\205) \307\310\"\207" [V0 V1 window-edges nil t 2 3 throw found] 6 "\n\n(fn WINDOW-1)"] nil t] 11 (#$ . 8245)])#@389 Scroll up or down according to the EVENT.
This should be bound only to mouse buttons 4, 5, 6, and 7 on
non-Windows systems.

Optional argument ARG (interactively, prefix numeric argument) controls
the step of horizontal scrolling.

The variable `mouse-wheel-scroll-amount-horizontal' records the last
value of ARG, and the command uses it in subsequent scrolls.

(fn EVENT &optional ARG)
(defalias 'mwheel-scroll #[513 "\306 \307!\211=\205 \242\310=\205 \311 \312\313\312\314\312\315\316!\"\"\"\317	\"\320=\2042 \321\322\"\210\203= A\262\202L 	\211A\262\242\211\262:\204> \210\323!\203[ \324\325 _!T\262\n\203\201 \247\203\201 \211:\203{ \3268\250\203{ \3268\262\202~ \327\262_\262\247\203\243 \211:\203\235 \3308\250\203\235 \3308\262\202\240 \327\262_\262\3311\260\3321\242\333\334	$\216\335!\336=\203\350 \211\fD>\203\350 \337!\203\327 \340V\203\327 1\203\341 2\202\343 3!\202\231\211\fD>\203\3411\374 4!0\202\231\210\342\2164 )\202\231\336=\2038\21156D>\2038\337!\203'\340V\203'1\20313\20232!\202\231\21156D>\203V\3431N7!0\202\231\2107 \210\202O\21189D>\203v:\205\2311\203o3\202q2!\202\231\211;<D>\203\226:\205\2311\203\2172\202\2213!\202\231\344\345!)\26200\210\202\2720\210\346\347\350!!\210\351\262\202\272\210\346\347\352!!\210\351\262\211?\205\344=\205\344>\205\344?\203\326\353?!\210\202\333\354\355\356\"\210\357>\320\360#\211?\207" [transient-mark-mode mouse-wheel-scroll-amount mouse-wheel-progressive-speed mouse-wheel-down-event mouse-wheel-down-alternate-event mouse-wheel-scroll-amount-horizontal selected-window mouse-wheel--get-scroll-window only window-point delq click double triple event-modifiers assoc nil select-window mark-for-redisplay floatp truncate window-height 2 1 3 (end-of-buffer) (beginning-of-buffer) make-closure #[0 "\301\302=\203 \300\205 \300\303 U?\205# \303 \300b\210\304 \210\211b\262\207\305\302\306\"\207" [V0 V1 V2 window-point deactivate-mark select-window t] 3] mwheel-event-button hscroll natnump 0 (beginning-of-buffer) #[0 "\300\301 e\"\207" [set-window-start selected-window] 3] (end-of-buffer) error "Bad binding in mwheel-scroll" message error-message-string (beginning-of-buffer) t (end-of-buffer) cancel-timer add-hook pre-command-hook mwheel-filter-click-events run-with-timer mwheel-inhibit-click-timeout mouse-wheel-flip-direction mwheel-scroll-left-function mwheel-scroll-right-function mwheel-scroll-down-function mouse-wheel-up-event mouse-wheel-up-alternate-event mwheel-scroll-up-function mouse-wheel-left-event mouse-wheel-left-alternate-event mouse-wheel-tilt-scroll mouse-wheel-right-event mouse-wheel-right-alternate-event mouse-wheel-click-event mouse-wheel-inhibit-click-time mwheel-inhibit-click-event-timer] 13 (#$ . 9039) (list last-input-event current-prefix-arg)])
(put 'mwheel-scroll 'scroll-command t)#@100 Adjust font size of the default face according to EVENT.
See also `text-scale-adjust'.

(fn EVENT)
(defalias 'mouse-wheel-text-scale #[257 "\304 \305!\306!\307\310\"\210\311\312\"\216\211	D>\203  \313\314!\202+ \211\nD>\205+ \315\314!)\207" [mouse-wheel-down-event mouse-wheel-down-alternate-event mouse-wheel-up-event mouse-wheel-up-alternate-event selected-window mouse-wheel--get-scroll-window mwheel-event-button select-window mark-for-redisplay make-closure #[0 "\301\300!\207" [V0 select-window] 2] text-scale-increase 1 text-scale-decrease] 7 (#$ . 11966) (list last-input-event)])#@131 Increase or decrease the global font size according to the EVENT.
This invokes `global-text-scale-adjust', which see.

(fn EVENT)
(defalias 'mouse-wheel-global-text-scale #[257 "\304!\305\216\211	D>\203 \306\307!\202 \211\nD>\205 \306\310!)\207" [mouse-wheel-down-event mouse-wheel-down-alternate-event mouse-wheel-up-event mouse-wheel-up-alternate-event mwheel-event-button #[0 "\300\207" [nil] 1] global-text-scale-adjust 1 -1] 5 (#$ . 12567) (list last-input-event)])#@121 Bind mouse wheel button KEY to function FUN.
Save it for later removal by `mouse-wheel--remove-bindings'.

(fn KEY FUN)
(defalias 'mouse-wheel--add-binding #[514 "\301\"\210BB\211\207" [mouse-wheel--installed-bindings-alist global-set-key] 5 (#$ . 13050)])#@88 Remove all mouse wheel key bindings.
This is a helper function for `mouse-wheel-mode'.
(defalias 'mouse-wheel--remove-bindings #[0 "\211\203\" \211@\211@A\301\302 \"=\203 \303!\210\266A\266\202\202 \210\304\211\207" [mouse-wheel--installed-bindings-alist lookup-key current-global-map global-unset-key nil] 7 (#$ . 13318)])#@198 Return list of key vectors for BINDING and EVENT.
BINDING is an element in `mouse-wheel-scroll-amount'.  EVENT is
an event used for scrolling, such as `mouse-wheel-down-event'.

(fn BINDING EVENT)
(defalias 'mouse-wheel--create-scroll-keys #[514 "\300\301\302\303\304\305\306\307\257:\203 \310\311@C\"!C\207\310!\312\313\314\"\"B\207" [left-margin right-margin left-fringe right-fringe vertical-scroll-bar horizontal-scroll-bar mode-line header-line vector append mapcar make-closure #[257 "\301\300\"\207" [V0 vector] 4 "\n\n(fn PREFIX)"]] 10 (#$ . 13658)])
(byte-code "\300\301\302\303\304DD\305\306\307\310\311\312\313\314\315&\207" [custom-declare-variable mouse-wheel-mode funcall function #[0 "\300\207" [t] 1 ""] "Non-nil if Mouse-Wheel mode is enabled.\nSee the `mouse-wheel-mode' command\nfor a description of this minor mode.\nSetting this variable directly does not take effect;\neither customize it (see the info node `Easy Customization')\nor call the function `mouse-wheel-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :type boolean :group mouse] 12)#@630 Toggle mouse wheel support (Mouse Wheel mode).

This is a global minor mode.  If called interactively, toggle the
`Mouse-Wheel mode' mode.  If the prefix argument is positive,
enable the mode, and if it is zero or negative, disable the mode.

If called from Lisp, toggle the mode if ARG is `toggle'.  Enable
the mode if ARG is nil, omitted, or is a positive number.
Disable the mode if ARG is a negative number.

To check whether the minor mode is enabled in the current buffer,
evaluate `(default-value \='mouse-wheel-mode)'.

The mode's hook is called both when the mode is enabled and when
it is disabled.

(fn &optional ARG)
(defalias 'mouse-wheel-mode #[256 "\302 \303\301\304=\203 \305\301!?\202! \247\203  \306W\203  \307\202! \310\"\210\311\300!\2038 \312\301\"\305\301!\2038 \301B\313 \210	\203B \314 \210\315\316\305\301!\203N \317\202O \320\"\210\321\322!\203x \323\301!\210\302 \203g \211\302 \232\203x \324\325\326\305\301!\203t \327\202u \330\331$\210\210\332 \210\305\301!\207" [global-minor-modes mouse-wheel-mode current-message set-default toggle default-value 1 nil t boundp delq mouse-wheel--remove-bindings mouse-wheel--setup-bindings run-hooks mouse-wheel-mode-hook mouse-wheel-mode-on-hook mouse-wheel-mode-off-hook called-interactively-p any customize-mark-as-set message "%s %sabled%s" "Mouse-Wheel mode" "en" "dis" "" force-mode-line-update] 7 (#$ . 14766) (byte-code "\203\n \301!\202 \302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)])
(defvar mouse-wheel-mode-hook nil)
(byte-code "\301\302N\204\f \303\301\302\304#\210\303\301\305\306#\210\303\301\307\310C#\210\311\312\310\313\300!\205# \310\211%\207" [mouse-wheel-mode-map mouse-wheel-mode-hook variable-documentation put "Hook run after entering or leaving `mouse-wheel-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it.  (This is true for all hook variables.)" custom-type hook standard-value nil add-minor-mode mouse-wheel-mode boundp] 6)
(defalias 'mouse-wheel--setup-bindings #[0 "\211\205\250 \211@\211:\2039 \211A\306=\2039 	\n\fF\211\2035 \211@\211\203. \307\310\311@C\"!\312\"\210A\266\202\202 \210\202\241 \211:\203k \211A\313=\203k 	\n\fF\211\203g \211@\211\203` \307\310\311@C\"!\314\"\210A\266\202\202J \210\202\241 	\n\f\257\211\203\240 \211@\211\203\231 \315\"\211\203\230 \211@\307\316\"\210A\266\202\202\206 \210A\266\202\202x \210A\266\202\202 \207" [mouse-wheel-scroll-amount mouse-wheel-down-event mouse-wheel-up-event mouse-wheel-down-alternate-event mouse-wheel-up-alternate-event mouse-wheel-left-event text-scale mouse-wheel--add-binding vector append mouse-wheel-text-scale global-text-scale mouse-wheel-global-text-scale mouse-wheel--create-scroll-keys mwheel-scroll mouse-wheel-right-event mouse-wheel-left-alternate-event mouse-wheel-right-alternate-event] 10])
(byte-code "\203 \301 \210\301\207" [mouse-wheel-mode mouse-wheel--setup-bindings] 1)#@55 Enable mouse wheel support.

(fn &optional UNINSTALL)
(defalias 'mwheel-install #[256 "\300\203	 \301\202\n \302!\207" [mouse-wheel-mode -1 1] 3 (#$ . 17725)])
(make-obsolete 'mwheel-install 'mouse-wheel-mode "27.1")
(defvar mwheel-installed-bindings nil)
(make-obsolete-variable 'mwheel-installed-bindings nil "28.1")
(defvar mwheel-installed-text-scale-bindings nil)
(byte-code "\300\301\302\303#\210\304\305!\207" [make-obsolete-variable mwheel-installed-text-scale-bindings nil "28.1" provide mwheel] 4)
