branch: elpa/doc-show-inline commit 2b36a6be1f2c0d25935d1a8c5c684e9e7f8e08d2 Author: Campbell Barton <ideasma...@gmail.com> Commit: Campbell Barton <ideasma...@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)