%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/display-line-numbers.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\304\305\304\306&\210\307\310\311\312\313DD\314\304\301\315\316\317\320& \210\307\321\311\312\322DD\323\304\301\315\324\317\320& \210\307\325\311\312\326DD\327\304\301\315\324\317\320& \207" [custom-declare-group display-line-numbers nil "Display line numbers in the buffer." :group convenience display custom-declare-variable display-line-numbers-type funcall function #[0 "\300\207" [t] 1] "The default type of line numbers to use in `display-line-numbers-mode'.\nSee `display-line-numbers' for value options." :type (choice (const :tag "Relative line numbers" relative) (const :tag "Relative visual line numbers" visual) (other :tag "Absolute line numbers" t)) :version "26.1" display-line-numbers-grow-only #[0 "\300\207" [nil] 1] "If non-nil, do not shrink line number width." boolean display-line-numbers-width-start #[0 "\300\207" [nil] 1] "If non-nil, count number of lines to use for line number width.\nWhen `display-line-numbers-mode' is turned on,\n`display-line-numbers-width' is set to the minimum width necessary\nto display all line numbers in the buffer."] 10) #@47 Prevent the line number width from shrinking. (defalias 'display-line-numbers-update-width #[0 "\301 \211\206 \302V\205 \211\211\207" [display-line-numbers-width line-number-display-width 1] 3 (#$ . 1515)]) #@119 Non-nil if Display-Line-Numbers mode is enabled. Use the command `display-line-numbers-mode' to change this variable. (defvar display-line-numbers-mode nil (#$ . 1733)) (make-variable-buffer-local 'display-line-numbers-mode) #@541 Toggle display of line numbers in the buffer. This uses `display-line-numbers' internally. If called interactively, enable Display-Line-Numbers mode if ARG is positive, and disable it if ARG is zero or negative. If called from Lisp, also enable the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'; disable the mode otherwise. To change the type of line numbers displayed by default, customize `display-line-numbers-type'. To change the type while the mode is on, set `display-line-numbers' directly. (fn &optional ARG) (defalias 'display-line-numbers-mode #[256 "\306 \307=\203 ?\202 \310!\311V\211\2033 \203# \312\313ed\"!G\203. \314\315\316\317\320$\210\f\202; \321\315\316\320#\210\317\322\323\203E \324\202F \325\"\210\326\327!\203j \306 \203Z \211\306 \232\203j \330\331\332\203e \333\202f \334#\266\210\335 \210\207" [display-line-numbers-mode display-line-numbers-width-start display-line-numbers-width display-line-numbers-grow-only display-line-numbers-type display-line-numbers current-message toggle prefix-numeric-value 0 number-to-string count-lines add-hook pre-command-hook display-line-numbers-update-width nil t remove-hook run-hooks display-line-numbers-mode-hook display-line-numbers-mode-on-hook display-line-numbers-mode-off-hook called-interactively-p any " in current buffer" message "Display-Line-Numbers mode %sabled%s" "en" "dis" force-mode-line-update] 8 (#$ . 1965) (byte-code "\206 \301C\207" [current-prefix-arg toggle] 1)]) (defvar display-line-numbers-mode-hook nil) (byte-code "\301\302N\204\f \303\301\302\304#\210\305\306\307\310\300!\205 \307\211%\207" [display-line-numbers-mode-map display-line-numbers-mode-hook variable-documentation put "Hook run after entering or leaving `display-line-numbers-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" add-minor-mode display-line-numbers-mode nil boundp] 6) #@38 Turn on `display-line-numbers-mode'. (defalias 'display-line-numbers--turn-on #[0 "\300 ?\205 \301 \207" [minibufferp display-line-numbers-mode] 1 (#$ . 3939)]) (put 'global-display-line-numbers-mode 'globalized-minor-mode t) (defvar display-line-numbers-mode-major-mode nil) (byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313\314\315\316\317&\207" [make-variable-buffer-local display-line-numbers-mode-major-mode custom-declare-variable global-display-line-numbers-mode funcall function #[0 "\300\207" [nil] 1] "Non-nil if Global Display-Line-Numbers mode is enabled.\nSee the `global-display-line-numbers-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 `global-display-line-numbers-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :group global-display-line-numbers :type boolean] 12) #@421 Toggle Display-Line-Numbers mode in all buffers. With prefix ARG, enable Global Display-Line-Numbers mode if ARG is positive; otherwise, disable it. If called from Lisp, enable the mode if ARG is omitted or nil. Display-Line-Numbers mode is enabled in all buffers where `display-line-numbers--turn-on' would do it. See `display-line-numbers-mode' for more information on Display-Line-Numbers mode. (fn &optional ARG) (defalias 'global-display-line-numbers-mode #[256 "\302 \303\300\304=\203 \305\300!?\202 \306!\307V\"\210\203. \310\311\312\"\210\310\313\314\"\210\310\315\316\"\210\202= \317\311\312\"\210\317\313\314\"\210\317\315\316\"\210\320 \211\203c \211@r\211q\210\203S \321 \210\202[ \203[ \301\322!\210)A\266\202\202? \210\323\324\305\300!\203p \325\202q \326\"\210\327\330!\203\233 \331\300!\210\302 \203\211 \211\302 \232\203\233 \332\333\334\305\300!\203\226 \335\202\227 \336#\266\210\337 \210\305\300!\207" [global-display-line-numbers-mode display-line-numbers-mode current-message set-default toggle default-value prefix-numeric-value 0 add-hook after-change-major-mode-hook global-display-line-numbers-mode-enable-in-buffers find-file-hook global-display-line-numbers-mode-check-buffers change-major-mode-hook global-display-line-numbers-mode-cmhh remove-hook buffer-list display-line-numbers--turn-on -1 run-hooks global-display-line-numbers-mode-hook global-display-line-numbers-mode-on-hook global-display-line-numbers-mode-off-hook called-interactively-p any customize-mark-as-set "" message "Global Display-Line-Numbers mode %sabled%s" "en" "dis" force-mode-line-update] 7 (#$ . 4919) (byte-code "\206 \301C\207" [current-prefix-arg toggle] 1)]) (defvar global-display-line-numbers-mode-hook nil) (byte-code "\301\302N\204\f \303\301\302\304#\210\305\306\307\310\300!\205 \307\211%\207" [global-display-line-numbers-mode-map global-display-line-numbers-mode-hook variable-documentation put "Hook run after entering or leaving `global-display-line-numbers-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" add-minor-mode global-display-line-numbers-mode nil boundp] 6) (defvar display-line-numbers-mode-set-explicitly nil nil) (make-variable-buffer-local 'display-line-numbers-mode-set-explicitly) (defalias 'display-line-numbers-mode-set-explicitly #[0 "\301\211\207" [display-line-numbers-mode-set-explicitly t] 2]) (byte-code "\300\301\302\303#\210\304\305\301\"\207" [put display-line-numbers-mode-set-explicitly definition-name global-display-line-numbers-mode add-hook display-line-numbers-mode-hook] 4) (defvar global-display-line-numbers-mode-buffers nil) (defalias 'global-display-line-numbers-mode-enable-in-buffers #[0 "\305\211\211\2059 \211@\306!\2032 r\211q\210 \204/ \n=\204/ \f\203, \304\307!\210\310 \210\202/ \310 \210)A\266\202\202 \262\207" [global-display-line-numbers-mode-buffers display-line-numbers-mode-set-explicitly display-line-numbers-mode-major-mode major-mode display-line-numbers-mode nil buffer-live-p -1 display-line-numbers--turn-on] 5]) (put 'global-display-line-numbers-mode-enable-in-buffers 'definition-name 'global-display-line-numbers-mode) (defalias 'global-display-line-numbers-mode-check-buffers #[0 "\300 \210\301\302\303\"\207" [global-display-line-numbers-mode-enable-in-buffers remove-hook post-command-hook global-display-line-numbers-mode-check-buffers] 3]) (put 'global-display-line-numbers-mode-check-buffers 'definition-name 'global-display-line-numbers-mode) (defalias 'global-display-line-numbers-mode-cmhh #[0 "p\211\235\203\f \210\202 \211B\210\301\302\303\"\207" [global-display-line-numbers-mode-buffers add-hook post-command-hook global-display-line-numbers-mode-check-buffers] 3]) (byte-code "\300\301\302\303#\210\304\305!\207" [put global-display-line-numbers-mode-cmhh definition-name global-display-line-numbers-mode provide display-line-numbers] 4)