diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index e6448625cee..f92e4958e33 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el @@ -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)