%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/linum.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defconst linum-version "0.9x") #@31 Overlays used in this buffer. (defvar linum-overlays nil (#$ . 440)) #@31 Overlays available for reuse. (defvar linum-available nil (#$ . 515)) #@60 Functions run in each buffer before line numbering starts. (defvar linum-before-numbering-hook nil (#$ . 591)) (byte-code "\300\301\302\"\210\303\304\305\306\307\310%\210\311\312\313\314\315DD\316\307\304\317\320&\210\321\304\322\323\307\304%\210\311\324\313\314\325DD\326\307\304\317\327&\210\311\330\313\314\331DD\332\307\304\317\327&\207" [mapc make-variable-buffer-local (linum-overlays linum-available) custom-declare-group linum nil "Show line numbers in the left margin." :group convenience custom-declare-variable linum-format funcall function #[0 "\300\207" [dynamic] 1] "Format used to display line numbers.\nEither a format string like \"%7d\", `dynamic' to adapt the width\nas needed, or a function that is called with a line number as its\nargument and should evaluate to a string to be shown on that line.\nSee also `linum-before-numbering-hook'." :type (choice (string :tag "Format string") (const :tag "Dynamic width" dynamic) (function :tag "Function")) custom-declare-face ((t :inherit (shadow default))) "Face for displaying line numbers in the display margin." linum-eager #[0 "\300\207" [t] 1] "Whether line numbers should be updated after each command.\nThe conservative setting nil might miss some buffer changes,\nand you have to scroll or press \\[recenter-top-bottom] to update the numbers." boolean linum-delay #[0 "\300\207" [nil] 1] "Delay updates to give Emacs a chance for other changes."] 8) #@89 Non-nil if Linum mode is enabled. Use the command `linum-mode' to change this variable. (defvar linum-mode nil (#$ . 2024)) (make-variable-buffer-local 'linum-mode) #@365 Toggle display of line numbers in the left margin (Linum mode). If called interactively, enable Linum 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. Linum mode is a buffer-local minor mode. (fn &optional ARG) (defalias 'linum-mode #[256 "\303 \304=\203 ?\202 \305!\306V\211\203O \203- \307\310\n\203% \311\202&