Commit 34a008d9 authored by Aaron S. Hawley's avatar Aaron S. Hawley Committed by Glenn Morris
Browse files

* lisp/thingatpt.el (forward-same-syntax): Handle no ARG case.

Fixes: debbugs:11560
parent 0a3b289f
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> 2012-05-26 Glenn Morris <rgm@gnu.org>
* progmodes/cc-mode.el (auto-mode-alist): Fix typo. * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
......
...@@ -457,6 +457,7 @@ backwards ARG times if negative." ...@@ -457,6 +457,7 @@ backwards ARG times if negative."
With prefix argument ARG, do it ARG times if positive, or move With prefix argument ARG, do it ARG times if positive, or move
backwards ARG times if negative." backwards ARG times if negative."
(interactive "p") (interactive "p")
(or arg (setq arg 1))
(while (< arg 0) (while (< arg 0)
(skip-syntax-backward (skip-syntax-backward
(char-to-string (char-syntax (char-before)))) (char-to-string (char-syntax (char-before))))
......
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