mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-02 11:21:42 +00:00
* lisp/comint.el (comint-replace-by-expanded-history-before-point): Fix
expansion of !$ and !!:N syntax to pick the indicated word. Fixes: debbugs:7883
This commit is contained in:
parent
0f1f97caf2
commit
6e1dbaa90f
@ -1,11 +1,17 @@
|
||||
2011-01-21 Roland McGrath <roland@frob.com>
|
||||
|
||||
* comint.el (comint-replace-by-expanded-history-before-point): Fix
|
||||
expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
|
||||
|
||||
2011-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
|
||||
|
||||
2011-01-21 Jari Aalto <jari.aalto@cante.net>
|
||||
|
||||
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): (bug#7705)
|
||||
Assume foo(bar) is a manpage reference rather than some unquoted symbol.
|
||||
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
|
||||
Assume foo(bar) is a manpage reference rather than some unquoted
|
||||
symbol (bug#7705).
|
||||
|
||||
2011-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
|
@ -1292,7 +1292,9 @@ than the logical beginning of line."
|
||||
(message "Relative reference exceeds input history size"))))
|
||||
((or (looking-at "!!?:?\\([0-9^$*-]+\\)") (looking-at "!!"))
|
||||
;; Just a number of args from the previous input line.
|
||||
(replace-match (comint-previous-input-string 0) t t)
|
||||
(replace-match (comint-args (comint-previous-input-string 0)
|
||||
(match-beginning 1) (match-end 1))
|
||||
t t)
|
||||
(message "History item: previous"))
|
||||
((looking-at
|
||||
"!\\??\\({\\(.+\\)}\\|\\(\\sw+\\)\\)\\(:?[0-9^$*-]+\\)?")
|
||||
|
Loading…
Reference in New Issue
Block a user