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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue