%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/indent.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%\210\306\307\310\311\312DD\313\304\301\314\315&\207" [custom-declare-group indent nil "Indentation commands." :group editing custom-declare-variable standard-indent funcall function #[0 "\300\207" [4] 1] "Default number of columns for margin-changing functions to indent." :type integer] 8) #@336 Function to indent the current line. This function will be called with no arguments. If it is called somewhere where auto-indentation cannot be done (e.g. inside a string), the function should simply return `noindent'. Setting this function is all you need to make TAB indent appropriately. Don't rebind TAB unless you really need to. (defvar indent-line-function 'indent-relative (#$ . 738)) (byte-code "\300\301\302\303\304DD\305\306\307\310\311&\207" [custom-declare-variable tab-always-indent funcall function #[0 "\300\207" [t] 1] "Controls the operation of the TAB key.\nIf t, hitting TAB always just indents the current line.\nIf nil, hitting TAB indents the current line if point is at the left margin\nor in the line's indentation, otherwise it inserts a \"real\" TAB character.\nIf `complete', TAB first tries to indent the current line, and if the line\nwas already indented, then try to complete the thing at point.\n\nSome programming language modes have their own variable to control this,\ne.g., `c-tab-always-indent', and do not respect this variable." :group indent :type (choice (const :tag "Always indent" t) (const :tag "Indent if inside indentation, else TAB" nil) (const :tag "Indent, or if already indented complete" complete))] 8) #@381 Indent line in proper way for current major mode. Normally, this is done by calling the function specified by the variable `indent-line-function'. However, if the value of that variable is `indent-relative' or `indent-relative-first-indent-point', handle it specially (since those functions are used for tabbing); in that case, indent by aligning to the previous non-blank line. (defalias 'indent-according-to-mode #[0 "\214~\210\301\302 !\210\303>\203B \212\304 \210o\203 \305\202* \304\305!\210\306\307!\203( \305\202* \310 )i\310 X\2038 \311!\202= \212\311!)\262\202D )\207" [indent-line-function syntax-propertize line-end-position (indent-relative indent-relative-maybe indent-relative-first-indent-point) beginning-of-line 0 looking-at "[ ]*$" current-indentation indent-line-to] 3 (#$ . 2001) nil]) (defalias 'indent--default-inside-comment #[0 "i\303 V\206\n =?\205A \304 \3058\205? \306\212\307y\210\310\311w\210\312`S\3138\314 #\203: \3138b\210\315\n!\203: \316\225b\210i)!\210\317\262\207" [this-command last-command comment-start-skip current-indentation syntax-ppss 4 indent-line-to -1 " " nil < 8 line-end-position looking-at 0 t] 6]) #@932 Indent the current line or region, or insert a tab, as appropriate. This function either inserts a tab, or indents the current line, or performs symbol completion, depending on `tab-always-indent'. The function called to actually indent the line or insert a tab is given by the variable `indent-line-function'. If a prefix argument is given, after this function indents the current line or inserts a tab, it also rigidly indents the entire balanced expression which starts at the beginning of the current line, to reflect the current line's indentation. In most major modes, if point was in the current line's indentation, it is moved to the first non-whitespace character after indenting; otherwise it stays at the same position relative to the text. If `transient-mark-mode' is turned on and the region is active, this function instead calls `indent-region'. In this case, any prefix argument is ignored. (fn &optional ARG) (defalias 'indent-for-tab-command #[256 "\304 \203\f \305\306 \307 \"\207\310=\204# \204' i\311 V\204# \n=\203' \312!\207\313 `\311 \314!\315=\203L \316 \204L i\311 X\204F \317=\204L \314\320\300!!\210 \317=\203d `=\203d \313 =\203d \321 \202\217 \205\217 \212\322y\210\323 \210\324 )\311 Z\212\325y\210\211\322U?\205\214 `W\205\214 \326`#)\266\202\207" [indent-line-function tab-always-indent this-command last-command use-region-p indent-region region-beginning region-end indent-to-left-margin current-indentation insert-tab buffer-chars-modified-tick indent--funcall-widened noindent indent--default-inside-comment complete default-value completion-at-point 0 forward-sexp point-marker 1 indent-rigidly] 10 (#$ . 3173) "P"]) #@13 (fn FUNC) (defalias 'indent--funcall-widened #[257 "\214~\210\211 )\207" [] 2 (#$ . 4852)]) #@22 (fn &optional ARG) (defalias 'insert-tab #[256 "\303!\203 hz\304=\203 \305 \210 \203 \306\307\"\202$ \ni\n\245\\_j\207" [abbrev-mode indent-tabs-mode tab-width prefix-numeric-value 119 expand-abbrev insert-char 9] 6 (#$ . 4952)]) #@98 Return the smallest indentation in range from BEG to END. Blank lines are ignored. (fn BEG END) (defalias 'indent-rigidly--current-indentation #[514 "\212\300 \301\302\303\304\305!\306\"\307$\216b\210\310 \311b\210\312\313\314#\203. \211\206&