* lisp/thingatpt.el (forward-same-syntax): Handle no ARG case.
Fixes: debbugs:11560
This commit is contained in:
parent
0a3b289f43
commit
34a008d93c
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
|
||||
|
||||
* thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
|
||||
|
||||
2012-05-26 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* progmodes/cc-mode.el (auto-mode-alist): Fix typo.
|
||||
|
|
|
@ -457,6 +457,7 @@ backwards ARG times if negative."
|
|||
With prefix argument ARG, do it ARG times if positive, or move
|
||||
backwards ARG times if negative."
|
||||
(interactive "p")
|
||||
(or arg (setq arg 1))
|
||||
(while (< arg 0)
|
||||
(skip-syntax-backward
|
||||
(char-to-string (char-syntax (char-before))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue