diff options
author | Andreas Schwab <[email protected]> | 2002-02-08 12:32:18 +0000 |
---|---|---|
committer | Andreas Schwab <[email protected]> | 2002-02-08 12:32:18 +0000 |
commit | cd01f5b91c5ca85d6ee10f1093e43077219190a1 (patch) | |
tree | 3eca4453e888089dbfa5fcb18dcda6dc45b9fd6c /lisp/calc/calc.el | |
parent | d586cf1e250753112eb7a32fe95911e4ff36a2fc (diff) |
(calcDigit-key): Use minibuffer-prompt-end instead of point-min.
Diffstat (limited to 'lisp/calc/calc.el')
-rw-r--r-- | lisp/calc/calc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/calc/calc.el b/lisp/calc/calc.el index 7646a8c25e..31df6bf36d 100644 --- a/lisp/calc/calc.el +++ b/lisp/calc/calc.el @@ -1,6 +1,6 @@ ;;; calc.el --- the GNU Emacs calculator -;; Copyright (C) 1990, 1991, 1992, 1993, 2001 Free Software Foundation, Inc. +;; Copyright (C) 1990, 1991, 1992, 1993, 2001, 2002 Free Software Foundation, Inc. ;; Author: David Gillespie <[email protected]> ;; Maintainer: Colin Walters <[email protected]> @@ -2076,7 +2076,7 @@ If mouse is pressed in Calc window, push cut buffer contents onto the stack." (setq last-command-char (upcase last-command-char))) (cond ((memq last-command-char '(?_ ?n)) - (goto-char (point-min)) + (goto-char (minibuffer-prompt-end)) (if (and (search-forward " +/- " nil t) (not (search-forward "e" nil t))) (beep) |