* edmacro.el (edmacro-parse-keys): Fix 2008-08-19 change (Bug#3387).

This commit is contained in:
Chong Yidong 2009-05-26 20:19:26 +00:00
parent 9d14bd379a
commit c46768fcff
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2009-05-26 Chong Yidong <cyd@stupidchicken.com>
* edmacro.el (edmacro-parse-keys): Fix 2008-08-19
change (Bug#3387).
* view.el (view-recenter): Allow recenter to compute window height
normally.
(view-window-size): Use window-line-height to find window height.

View file

@ -698,7 +698,7 @@ This function assumes that the events can be stored in a string."
(times 1)
key)
;; Try to catch events of the form "<as df>".
(if (string-match "^<[^ <>\t\n\f][^>\t\n\f]*>" word)
(if (string-match "\\`<[^ <>\t\n\f][^>\t\n\f]*>" word)
(setq word (match-string 0 word)
pos (+ word-beg (match-end 0)))
(setq word (substring string word-beg word-end)