| Server IP : 217.160.0.212 / Your IP : 216.73.216.75 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 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/eshell/ |
Upload File : |
;ELC
;;; Compiled
;;; in Emacs version 28.2
;;; with all optimizations.
(byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\311\312\313\314\315\316\317\320&\210\321\322\323\324\325DD\326\327\330\331\332&\210\321\333\323\324\334DD\335\331\336%\210\321\337\323\324\340DD\341\331\336%\210\321\342\323\324\343DD\344\331\336%\210\321\345\323\324\346DD\347\331\350%\210\321\351\323\324\352DD\353\331\354%\210\355\351\356\357#\207" [require esh-util esh-cmd esh-opt esh-module esh-arg esh-io pcomplete ring custom-declare-group eshell-var nil "Variable interpolation is introduced whenever the `$' character\nappears unquoted in any argument (except when that argument is\nsurrounded by single quotes). It may be used to interpolate a\nvariable value, a subcommand, or even the result of a Lisp form." :tag "Variable handling" :group eshell custom-declare-variable eshell-var-load-hook funcall function #[0 "\300\207" [nil] 1 #1=""] "A list of functions to call when loading `eshell-var'." :version "24.1" :type hook eshell-prefer-lisp-variables #[0 "\300\207" [nil] 1 #1#] "If non-nil, prefer Lisp variables to environment variables." boolean eshell-complete-export-definition #[0 "\300\207" [t] 1 #1#] "If non-nil, completing names for `export' shows current definition." eshell-modify-global-environment #[0 "\300\207" [nil] 1 #1#] "If non-nil, using `export' changes Emacs's global environment." eshell-variable-name-regexp #[0 "\300\207" ["[A-Za-z0-9_-]+"] 1 #1#] "A regexp identifying what constitutes a variable name reference.\nNote that this only applies for `$NAME'. If the syntax `$<NAME>' is\nused, then NAME can contain any character, including angle brackets,\nif they are quoted with a backslash." regexp eshell-variable-aliases-list #[0 "\300\301\302BB\303\304\305BB\306\307D\310\311\312\313\314D\315\316D\317\320D\321\322D\323\324D\325\326D\327\330D\331\332D\333\334D\335\336D\257\207" ["COLUMNS" #[257 "\300 \207" [window-width] 2 "\n\n(fn INDICES)"] (t) "LINES" #[257 "\300 \207" [window-height] 2 "\n\n(fn INDICES)"] (t) "_" #[257 "\211\204 \301!@\207\302\"\207" [eshell-last-arguments last eshell-apply-indices] 4 "\n\n(fn INDICES)"] ("?" eshell-last-command-status) ("$" eshell-last-command-result) ("0" eshell-command-name) "1" #[257 "@\207" [eshell-command-arguments] 2 "\n\n(fn INDICES)"] "2" #[257 "A@\207" [eshell-command-arguments] 2 "\n\n(fn INDICES)"] "3" #[257 "\3018\207" [eshell-command-arguments 2] 3 "\n\n(fn INDICES)"] "4" #[257 "\3018\207" [eshell-command-arguments 3] 3 "\n\n(fn INDICES)"] "5" #[257 "\3018\207" [eshell-command-arguments 4] 3 "\n\n(fn INDICES)"] "6" #[257 "\3018\207" [eshell-command-arguments 5] 3 "\n\n(fn INDICES)"] "7" #[257 "\3018\207" [eshell-command-arguments 6] 3 "\n\n(fn INDICES)"] "8" #[257 "\3018\207" [eshell-command-arguments 7] 3 "\n\n(fn INDICES)"] "9" #[257 "\3018\207" [eshell-command-arguments 8] 3 "\n\n(fn INDICES)"] "*" #[257 "\211\204 \207\301\"\207" [eshell-command-arguments eshell-apply-indices] 4 "\n\n(fn INDICES)"]] 17 #1#] "This list provides aliasing for variable references.\nEach member defines the name of a variable, and a Lisp value used to\ncompute the string value that will be returned when the variable is\naccessed via the syntax `$NAME'.\n\nIf the value is a function, call that function with two arguments: the\nlist of the indices that was used in the reference, and whether the\nuser is requesting the length of the ultimate element. For example, a\nreference of `$NAME[10][20]' would result in the function for alias\n`NAME' being called (assuming it were aliased to a function), and the\narguments passed to this function would be the list '(10 20)', and\nnil.\n\nIf the value is a string, return the value for the variable with that\nname in the current environment. If no variable with that name exists\nin the environment, but if a symbol with that same name exists and has\na value bound to it, return its value instead. You can prioritize\nsymbol values over environment values by setting\n`eshell-prefer-lisp-variables' to t.\n\nIf the value is a symbol, return the value bound to it.\n\nIf the value has any other type, signal an error.\n\nAdditionally, each member may specify if it should be copied to the\nenvironment of created subprocesses." (repeat (list string sexp (choice (const :tag "Copy to environment" t) (const :tag "Use only in Eshell" nil)))) put risky-local-variable t] 8)
(defvar eshell-var-mode-map (byte-code "\300 \301\302\303#\210\207" [make-sparse-keymap define-key [3 134217846] eshell-insert-envvar] 5))
#@99 Non-nil if Eshell-Var mode is enabled.
Use the command `eshell-var-mode' to change this variable.
(defvar eshell-var-mode nil (#$ . 4634))
(make-variable-buffer-local 'eshell-var-mode)
#@615 Minor mode for the esh-var module.
This is a minor mode. If called interactively, toggle the `Eshell-Var
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 `eshell-var-mode'.
The mode's hook is called both when the mode is enabled and when it is
disabled.
\{eshell-var-mode-map}
(fn &optional ARG)
(defalias 'eshell-var-mode #[256 "\302 \303=\203
?\202 \247\203 \304W\203 \305\202 \306\307\301!\2031 \310\300 \"\2031 \300 B\311\312\203; \313\202<