Commit 6e1dbaa9 authored by Roland McGrath's avatar Roland McGrath Committed by Stefan Monnier
Browse files

* lisp/comint.el (comint-replace-by-expanded-history-before-point): Fix

expansion of !$ and !!:N syntax to pick the indicated word.

Fixes: debbugs:7883
parent 0f1f97ca
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^$*-]+\\)?")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment