branch: externals/pulsar
commit 06534a2dc6d5849b5265ee34173713d17504322e
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Use 'line-beginning-position' instead of 'point-at-bol'
---
 pulsar.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pulsar.el b/pulsar.el
index baff7138d7..ec6052da09 100644
--- a/pulsar.el
+++ b/pulsar.el
@@ -238,7 +238,7 @@ pulse.  Only applies when `pulsar-pulse' is non-nil."
 (defun pulsar--indentation-only-line-p ()
   "Return non-nil if current line has only indentation."
   (save-excursion
-    (goto-char (point-at-bol))
+    (goto-char (line-beginning-position))
     (and (not (bobp))
             (or (beginning-of-line 1) t)
             (save-match-data

Reply via email to