%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/eshell/ |
Current File : //usr/local/share/emacs/27.2/lisp/eshell/em-prompt.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!\210\302\303\304\305\306\307\310\311&\210\312\313\314\315\316DD\317\320\321\322\323\310\303& \210\324\325\326\"\210\312\327\314\315\330DD\331\322\315\310\303&\210\312\332\314\315\333DD\334\322\335\310\303&\210\312\336\314\315\337DD\340\322\341\310\303&\210\342\303\343\344\310\303%\210\312\345\314\315\346DD\347\322\323\350\351\310\303& \210\312\352\314\315\353DD\354\322\323\350\355\310\303& \207" [require esh-mode custom-declare-group eshell-prompt nil "This module provides command prompts, and navigation between them,\nas is common with most shells." :tag "Command prompts" :group eshell-module custom-declare-variable eshell-prompt-load-hook funcall function #[0 "\300\207" [nil] 1] "A list of functions to call when loading `eshell-prompt'." :version "24.1" :type hook autoload eshell/pwd "em-dirs" eshell-prompt-function #[0 "\300\207" [#[0 "\300\301 !\302 \303U\203 \304\202 \305P\207" [abbreviate-file-name eshell/pwd user-uid 0 " # " " $ "] 3]] 1] "A function that returns the Eshell prompt string.\nMake sure to update `eshell-prompt-regexp' so that it will match your\nprompt." eshell-prompt-regexp #[0 "\300\207" [#1="^[^#$\n]* [#$] "] 1 #1#] "A regexp which fully matches your eshell prompt.\nThis setting is important, since it affects how eshell will interpret\nthe lines that are passed to it.\nIf this variable is changed, all Eshell buffers must be exited and\nre-entered for it to take effect." regexp eshell-highlight-prompt #[0 "\300\207" [t] 1] "If non-nil, Eshell should highlight the prompt." boolean custom-declare-face ((default :weight bold) (((class color) (background light)) :foreground "Red") (((class color) (background dark)) :foreground "Pink")) "The face used to highlight prompt strings.\nFor highlighting other kinds of strings -- similar to shell mode's\nbehavior -- simply use an output filer which changes text properties." eshell-before-prompt-hook #[0 "\300\207" [nil] 1] "A list of functions to call before outputting the prompt." :options (eshell-begin-on-new-line) eshell-after-prompt-hook #[0 "\300\207" [nil] 1] "A list of functions to call after outputting the prompt.\nNote that if `eshell-scroll-show-maximum-output' is non-nil, then\nsetting `eshell-show-maximum-output' here won't do much. It depends\non whether the user wants the resizing to happen while output is\narriving, or after." (eshell-show-maximum-output)] 10) #@32 Initialize the prompting code. (defalias 'eshell-prompt-initialize #[0 "?\205+ \305\306\307\310\311$\210\312\301!\210 \203 \312\302!\210 \312\303!\210\313\314\f\315\316#\210\314\f\317\320#\207" [eshell-non-interactive-p eshell-prompt-regexp paragraph-start eshell-skip-prompt-function eshell-command-map add-hook eshell-post-command-hook eshell-emit-prompt nil t make-local-variable eshell-skip-prompt define-key [(control 110)] eshell-next-prompt [(control 112)] eshell-previous-prompt] 5 (#$ . 2814)]) #@54 Emit a prompt if eshell is being used interactively. (defalias 'eshell-emit-prompt #[0 "\304\300!\203 \305\306\307!\210 \204 \n`\305\223\210\202- \203&