From: Richard M. Stallman <rms@gnu.org> Date: Tue, 4 Feb 2003 10:41:10 +0000 (+0000) Subject: (back-to-indentation): Skip all whitespace except for newlines. X-Git-Tag: ttn-vms-21-2-B4~11361 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0ea364e605cb3010fbf3314344a2f3ecfb38f3a3;p=emacs.git (back-to-indentation): Skip all whitespace except for newlines. --- diff --git a/lisp/simple.el b/lisp/simple.el index ac531e9674c..27f301b4261 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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.