summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/testcover.el
diff options
context:
space:
mode:
authorGeorge Kuzler <gkuzler@gmail.com>2023-11-22 19:45:55 -0500
committerEli Zaretskii <eliz@gnu.org>2023-11-23 17:39:51 +0200
commitf7dc0202127a73f83de52b1999a7fe05dd64fff6 (patch)
tree7cd5ac0942eb523b67188201505abaf2b75f97de /lisp/emacs-lisp/testcover.el
parent662d54775d53cceb39cc65f1275972b6272a8158 (diff)
downloademacs-f7dc0202127a73f83de52b1999a7fe05dd64fff6.tar.gz
emacs-f7dc0202127a73f83de52b1999a7fe05dd64fff6.tar.bz2
emacs-f7dc0202127a73f83de52b1999a7fe05dd64fff6.zip
Fix "Text is read-only" on backspacing initial Calc input
Immediately after `calc-mode' opens the minibuffer for input (because you typed a digit, "e", etc), pressing backspace should clear the minibuffer and return you to the *Calculator* buffer. Instead, it leaves the minibuffer as-is and prints the message "Text is read-only"; this is because the function used, `erase-buffer', tries to erase the read-only minibuffer prompt. Using `delete-minibuffer-contents' fixes this, since it doesn't attempt to delete the prompt. * lisp/calc/calc.el (calcDigit-backspace): Use `delete-minibuffer-contents' instead of `erase-buffer'. (Bug#67395) Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/emacs-lisp/testcover.el')
0 files changed, 0 insertions, 0 deletions