%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/electric.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defalias 'Electric-command-loop #[(return-tag &optional prompt inhibit-quitting loop-function loop-state) "\306\211 \307 !\203 \n;\204 \n\310=?\205 \311\312\n!\211\211GSH!\313 \314\"\211\"#\306#\204A $\315=\203e \306\211%&\316 G\317U\204S \204c \320 \210\321\322!\210\323'\306\"\210\202e \306&( \203=\3241 \3251\360 \3261\322 \3271\263 \330 !\210\")#\306#\204\224 $\315=\205\254 \306%\204\252 \320 \210\321\322!\210\323'\306\"\202\254 \320 0000\2029000*+\203\304 *\211\202\316 \320 \210\321\331!\210\332\333!)\202900*+\203\342 *\211\202\354 \320 \210\321\334!\210\332\333!)\20290*+\203\377 *\211\202 \320 \210\321\335!\210\332\333!)\2029*+\203*\211\2028\320 \210\321\336*@\337=\203/*A@\2023\340*!\"\210\332\333!)\210\202@\320 \210+\203 +,\f\"\210\202 " [inhibit-quitting prompt prompt-string inhibit-quit err cmd nil functionp noprompt "->" read-key-sequence key-binding t 7 this-command-keys 1 ding message "Quit" throw (error) (end-of-buffer) (beginning-of-buffer) (buffer-read-only) command-execute "Buffer is read-only" sit-for 2 "Beginning of Buffer" "End of Buffer" "Error: %s" error prin1-to-string last-command-event this-command quit-flag last-input-event unread-command-events prefix-arg return-tag current-prefix-arg last-command conditions loop-function loop-state] 5]) (defalias 'Electric-pop-up-window #[(buffer &optional max-height) "\306!\206 \307 \310!\311\312!\312\313\n\204 \314\315\"\202Y \316 !\n=\203/ \317 !\210\202A \203= \320!\210\307 \202A \321\n!\210eb\210d\322 \312\"U\204X \323 \313\211\211\312&\210 -\207" [buffer win buf one-window pop-up-windows pop-up-frames get-buffer-window selected-window get-buffer one-window-p t nil error "Buffer %s does not exist" window-buffer select-window pop-to-buffer switch-to-buffer window-end fit-window-to-buffer max-height] 7]) (custom-declare-group 'electricity nil "Electric behavior for self inserting keys." :group 'editing) #@96 Return the position after the char we just inserted. Returns nil when we can't find this char. (defalias 'electric--after-char-pos #[nil "``Sf =\204( \212\302\303x\210``Sf =\206$ \304\303x\210``Sf =)\205) )\207" [pos last-command-event " " nil " \n "] 2 (#$ . 2393)]) #@55 Characters that should cause automatic reindentation. (defvar electric-indent-chars '(10) (#$ . 2672)) #@267 Special hook run to decide whether to auto-indent. Each function is called with one argument (the inserted char), with point right after that char, and it should return t to cause indentation, `no-indent' to prevent indentation or nil to let other functions decide. (defvar electric-indent-functions nil (#$ . 2782)) #@185 If non-nil, reindentation is not appropriate for this buffer. This should be set by major modes such as `python-mode' since Python does not lend itself to fully automatic indentation. (defvar electric-indent-inhibit nil (#$ . 3106)) (make-variable-buffer-local 'electric-indent-inhibit) #@265 List of indent functions that can't reindent. If `indent-line-function' is one of those, then `electric-indent-mode' will not try to reindent lines. It is normally better to make the major mode set `electric-indent-inhibit', but this can be used as a workaround. (defvar electric-indent-functions-without-reindent '(indent-relative indent-to-left-margin indent-relative-maybe indent-relative-first-indent-point py-indent-line coffee-indent-line org-indent-line yaml-indent-line haskell-indentation-indent-line haskell-indent-cycle haskell-simple-indent yaml-indent-line) (#$ . 3400)) #@226 Function that `electric-indent-mode' adds to `post-self-insert-hook'. This indents if the hook `electric-indent-functions' returns non-nil, or if a member of `electric-indent-chars' was typed; but not in a string or comment. (defalias 'electric-indent-post-self-insert-function #[nil "\306 \205\251 \n\307>\203 \212\310\306x\210n)?\205\251 \311 \211\205\251 \212b\210\312\313\n\"\206, \n>\211\314>\206>