mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
another heredoc if the user adds another < (Bug#3226).
This commit is contained in:
parent
a0645cddf0
commit
1abbe4e531
2 changed files with 4 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
2009-08-16 Chong Yidong <cyd@stupidchicken.com>
|
||||
|
||||
* progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
|
||||
another heredoc if the user adds another < (Bug#3226).
|
||||
|
||||
* mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event): Don't
|
||||
initialize based on window-system (Bug#4124).
|
||||
|
||||
|
|
|
|||
|
|
@ -3749,7 +3749,7 @@ The document is bounded by `sh-here-document-word'."
|
|||
(interactive "*P")
|
||||
(self-insert-command (prefix-numeric-value arg))
|
||||
(or arg
|
||||
(not (eq (char-after (- (point) 2)) last-command-event))
|
||||
(not (looking-back "[^<]<<"))
|
||||
(save-excursion
|
||||
(backward-char 2)
|
||||
(sh-quoted-p))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue