mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-07-18 22:45:59 +00:00
Fix calc-trail-here for first line of trail.
* lisp/calc/calc.el(calc-trail-here): Change 'or' to 'and' since (bobp) can return true even if the buffer is not empty. (Bug#71533)
This commit is contained in:
parent
af6e7ed4c1
commit
c637adbf32
|
@ -2184,7 +2184,7 @@ the United States."
|
|||
(beginning-of-line)
|
||||
(if (eobp)
|
||||
(forward-line -1))
|
||||
(if (or (bobp) (eobp))
|
||||
(if (and (bobp) (eobp))
|
||||
(setq overlay-arrow-position nil) ; trail is empty
|
||||
(set-marker calc-trail-pointer (point) (current-buffer))
|
||||
(setq calc-trail-overlay (concat (buffer-substring (point)
|
||||
|
|
Loading…
Reference in a new issue