]> git.eshelyaron.com Git - emacs.git/commitdiff
(back-to-indentation): Skip all whitespace except for newlines.
authorRichard M. Stallman <rms@gnu.org>
Tue, 4 Feb 2003 10:41:10 +0000 (10:41 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 4 Feb 2003 10:41:10 +0000 (10:41 +0000)
lisp/simple.el

index ac531e9674cb177112a79c1155d59eeb58d4a745..27f301b4261d4db527bbe36ac4f0a0b16f08b088 100644 (file)
@@ -368,7 +368,8 @@ useful for editing binary files."
   "Move point to the first non-whitespace character on this line."
   (interactive)
   (beginning-of-line 1)
-  (skip-chars-forward " \t"))
+  (let ((limit (line-end-position)))
+    (skip-syntax-forward " " limit)))
 
 (defun fixup-whitespace ()
   "Fixup white space between objects around point.