mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
fix: rename {b,e}ol functions to pos-{b,e}ol
These two functions were introduced in emacs-mirror/emacs@f117b5df4d as `bol` and `eol`, but were renamed to `pos-bol` and `pos-eol` in emacs-mirror/emacs@2614e53216. Close: #8242
This commit is contained in:
@ -197,7 +197,7 @@ If DISABLE? (universal arg), reveal hidden accounts without prompting."
|
||||
(seq-let (beg end) (beancount-find-transaction-extents (point))
|
||||
;; TODO: Highlight entry (ala org-occur)
|
||||
(if (= beg end)
|
||||
(setq end (save-excursion (goto-char end) (1+ (eol)))))
|
||||
(setq end (save-excursion (goto-char end) (1+ (pos-eol)))))
|
||||
(put-text-property start beg 'invisible t)
|
||||
(put-text-property start beg 'display placeholder)
|
||||
(setq start end))))
|
||||
@ -228,7 +228,7 @@ Return non-nil if successful."
|
||||
;; Ensures "jump to top of current transaction" behavior that is
|
||||
;; common for jump-to-previous commands like this in other Emacs modes
|
||||
;; (like org-mode).
|
||||
(or (bolp) (goto-char (eol)))
|
||||
(or (bolp) (goto-char (pos-eol)))
|
||||
(re-search-backward
|
||||
(concat beancount-timestamped-directive-regexp
|
||||
"\\|" beancount-transaction-regexp)))
|
||||
|
Reference in New Issue
Block a user