[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108373: * lisp/thingatpt.el (forw
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-24 r108373: * lisp/thingatpt.el (forward-same-syntax): Handle no ARG case. |
Date: |
Fri, 02 Nov 2012 02:18:29 -0000 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 108373
fixes bug: http://debbugs.gnu.org/11560
author: Aaron S. Hawley <address@hidden>
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Fri 2012-05-25 19:40:47 -0700
message:
* lisp/thingatpt.el (forward-same-syntax): Handle no ARG case.
modified:
lisp/ChangeLog
lisp/thingatpt.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2012-05-26 02:34:16 +0000
+++ b/lisp/ChangeLog 2012-05-26 02:40:47 +0000
@@ -1,3 +1,7 @@
+2012-05-26 Aaron S. Hawley <address@hidden>
+
+ * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
+
2012-05-26 Glenn Morris <address@hidden>
* progmodes/cc-mode.el (auto-mode-alist): Fix typo.
=== modified file 'lisp/thingatpt.el'
--- a/lisp/thingatpt.el 2012-01-19 07:21:25 +0000
+++ b/lisp/thingatpt.el 2012-05-26 02:40:47 +0000
@@ -457,6 +457,7 @@
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))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-24 r108373: * lisp/thingatpt.el (forward-same-syntax): Handle no ARG case.,
Glenn Morris <=