changeset 43185:e38061462de6

(calcDigit-key): Use minibuffer-prompt-end instead of point-min.
author Andreas Schwab <schwab@suse.de>
date Fri, 08 Feb 2002 12:32:00 +0000
parents de686446afd2
children 4725c09ff437
files lisp/calc/calc.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc.el	Fri Feb 08 12:29:15 2002 +0000
+++ b/lisp/calc/calc.el	Fri Feb 08 12:32:00 2002 +0000
@@ -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 <daveg@synaptics.com>
 ;; Maintainer: Colin Walters <walters@debian.org>
@@ -2076,7 +2076,7 @@
 	(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)