emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r108373: * lisp/thingatpt.el (forward


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r108373: * lisp/thingatpt.el (forward-same-syntax): Handle no ARG case.
Date: Fri, 25 May 2012 19:40:47 -0700
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))))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]