beginning of line: go to indentation first

This commit is contained in:
Jean-Philippe Bernardy 2014-10-28 20:51:53 +01:00
parent c0c1832578
commit f44504b58d

View file

@ -261,9 +261,9 @@ If point was already at that position, move point to beginning of
line."
(interactive)
(let ((oldpos (point)))
(beginning-of-line)
(back-to-indentation)
(when (= oldpos (point))
(back-to-indentation))))
(beginning-of-line))))
(defun boon-looking-at-comment (how-many)
"Is the current point looking at 'how many' comments? (negative for backwards)"