diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-11-22 21:59:35 -0500 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-12-03 15:39:02 -0500 |
commit | 1cdd0e8cd801aa1d6f04ab4d8e6097a46af8c951 (patch) | |
tree | 915614a8b3b96a53767a3fc2c38fa5d530c6ad76 /etc | |
parent | cfa50d30f2876ca30158082e9a91d19e804a7e09 (diff) | |
download | emacs-1cdd0e8cd801aa1d6f04ab4d8e6097a46af8c951.tar.gz |
Disable history expansion in eshell (Bug#29157)
History expansion is not so useful since interactive history commands
are already provided. It can produce surprising errors when the user
is not aware of the history designator syntax.
* lisp/eshell/em-hist.el (eshell-hist-initialize): Don't add
eshell-expand-history-references to eshell-expand-input-functions.
* etc/NEWS: Announce it.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -113,6 +113,15 @@ styles as configured by the variable 'completion-styles'. These macros are analogue to 'let' and 'let*', but create bindings that are evaluated lazily. +** Eshell + +--- +*** Expansion of history event designators is disabled by default. +To restore the old behavior, use + + (add-hook 'eshell-expand-input-functions + #'eshell-expand-history-references) + * New Modes and Packages in Emacs 27.1 |