emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/doc-show-inline 2b36a6be1f: Cleanup: goto pos-bol/eol inst


From: ELPA Syncer
Subject: [nongnu] elpa/doc-show-inline 2b36a6be1f: Cleanup: goto pos-bol/eol instead of movement that respects fields
Date: Fri, 13 Jan 2023 06:59:08 -0500 (EST)

branch: elpa/doc-show-inline
commit 2b36a6be1f2c0d25935d1a8c5c684e9e7f8e08d2
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: goto pos-bol/eol instead of movement that respects fields
---
 doc-show-inline.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc-show-inline.el b/doc-show-inline.el
index da99a365cc..f7c8dc01a4 100644
--- a/doc-show-inline.el
+++ b/doc-show-inline.el
@@ -311,7 +311,7 @@ the point should not be moved by this function."
                (goto-char pos-end)
                ;; It's important the point is at the beginning of the line
                ;; so `looking-at-p' works as expected.
-               (beginning-of-line)
+               (goto-char (pos-bol))
                (while (and (looking-at-p "[[:blank:]]*$")
                            (< (setq blank-lines (1+ blank-lines))
                               doc-show-inline-exclude-blank-lines)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]