1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

* lisp/eshell: Fix history substitution error

Fixes: debbugs:18960

* lisp/eshell/em-hist.el (eshell-hist-parse-word-designator):
Return args joined with " ".
* lisp/eshell/em-pred.el (eshell-parse-modifiers): Correct docstring.
(eshell-hist-parse-modifier): Pass mod a list instead of a string.
This commit is contained in:
Samer Masterson 2015-02-24 14:03:54 -05:00 committed by Stefan Monnier
parent feb49cb7a4
commit 450bebaec9
4 changed files with 22 additions and 14 deletions

View file

@ -600,7 +600,7 @@ then remove all hi-lock highlighting."
;; `font-lock-specified-p' to go from nil to non-nil (because it
;; calls font-lock-set-defaults). This is yet-another bug in
;; font-lock-add/remove-keywords, which we circumvent here by
;; testing `font-lock-fontified' (bug#19737).
;; testing `font-lock-fontified' (bug#19796).
(if font-lock-fontified (font-lock-remove-keywords nil (list keyword)))
(setq hi-lock-interactive-patterns
(delq keyword hi-lock-interactive-patterns))