From f44504b58dc5cc26c894413a1ac2e9f5433c1d25 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bernardy Date: Tue, 28 Oct 2014 20:51:53 +0100 Subject: [PATCH] beginning of line: go to indentation first --- boon-main.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boon-main.el b/boon-main.el index 4dc8d71..0bded7f 100644 --- a/boon-main.el +++ b/boon-main.el @@ -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)"