From: Jay Belanger Date: Mon, 25 Oct 2004 13:57:20 +0000 (+0000) Subject: (calc-digit-dots): Inhibit read-only before erasing minibuffer. X-Git-Tag: ttn-vms-21-2-B4~4409 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b89c5b7158f02a7ee40f11ced4d81e2317bff7f4;p=emacs.git (calc-digit-dots): Inhibit read-only before erasing minibuffer. --- diff --git a/lisp/calc/calc-incom.el b/lisp/calc/calc-incom.el index b8bb7ab4f9a..7dc7f08b4bd 100644 --- a/lisp/calc/calc-incom.el +++ b/lisp/calc/calc-incom.el @@ -183,7 +183,8 @@ (if calc-prev-prev-char (calcDigit-nondigit) (setq calc-digit-value nil) - (erase-buffer) + (let ((inhibit-read-only t)) + (erase-buffer)) (exit-minibuffer))) ;; just ignore extra decimal point, anticipating ".." (delete-backward-char 1)))