[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pulsar d2174307b0 23/28: Simple fix for highlight behav
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pulsar d2174307b0 23/28: Simple fix for highlight behavior on last line |
Date: |
Tue, 22 Mar 2022 06:58:05 -0400 (EDT) |
branch: externals/pulsar
commit d2174307b0c6e21b75055be5ea1b0c43a7874d71
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>
Simple fix for highlight behavior on last line
---
pulsar.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pulsar.el b/pulsar.el
index b3433e3846..a08bb701bc 100644
--- a/pulsar.el
+++ b/pulsar.el
@@ -231,13 +231,13 @@ Only applies when `pulsar-pulse' is non-nil."
(defun pulsar--start ()
"Return appropriate line start."
- (if (pulsar--buffer-end-p)
+ (if (and (pulsar--buffer-end-p) (eq (char-before) ?\n))
(line-beginning-position 0)
(line-beginning-position)))
(defun pulsar--end ()
"Return appropriate line end."
- (if (pulsar--buffer-end-p)
+ (if (and (pulsar--buffer-end-p) (eq (char-before) ?\n))
(line-beginning-position 1)
(line-beginning-position 2)))
- [elpa] externals/pulsar 54702c9e1f 12/28: Add package keywords, (continued)
- [elpa] externals/pulsar 54702c9e1f 12/28: Add package keywords, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar bc084499c4 04/28: Add function to reveal Org or Outline entry, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 98d970dcdf 09/28: Add minor rewording, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar fca0e53815 15/28: Exert control over the pulse effect, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 486645f81b 16/28: Always ':extend t' the generic pulse face, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar dcc94662a9 07/28: Stop pulsing during pulsar-reveal-entry, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 82946880b5 14/28: Add missing function to sample package setup, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 42f8a03b8a 18/28: Fix typo, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar d654e552f0 19/28: Clarify doc strings of user options, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 4cfc18a009 22/28: Update to version 0.2.0, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar d2174307b0 23/28: Simple fix for highlight behavior on last line,
ELPA Syncer <=
- [elpa] externals/pulsar 2d666c7061 25/28: Update "Acknowledgements" in the manual, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 1535551ac0 27/28: Use post-command-hook instead of an advice, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 1b73a123f1 21/28: Reword Commentary and package description, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar b469abdd94 17/28: Abstract pulse effect; add pulsar-highlight-line, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 890d73e481 24/28: Merge branch 'fix-last-line' into 'main', ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 0891269ff8 26/28: Add pulsar-highlight-face user option, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar ebbe9486d1 20/28: Reword manual's description, ELPA Syncer, 2022/03/22
- [elpa] externals/pulsar 40b1aa8c48 28/28: Document pulsar package installation, ELPA Syncer, 2022/03/22