mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 18:41:25 -08:00
* lisp/calc-store.el (calc-insert-permanent-variable): Heed case.
Otherwise `s p' of f and F will stomp on each other's value. (Bug#20916)
This commit is contained in:
parent
23d00d4cdd
commit
59f1e8a02d
1 changed files with 2 additions and 1 deletions
|
|
@ -609,7 +609,8 @@
|
|||
|
||||
(defun calc-insert-permanent-variable (var)
|
||||
(goto-char (point-min))
|
||||
(if (search-forward (concat "(setq " (symbol-name var) " '") nil t)
|
||||
(if (let (case-fold-search)
|
||||
(search-forward (concat "(setq " (symbol-name var) " '") nil t))
|
||||
(progn
|
||||
(setq calc-pv-pos (point-marker))
|
||||
(forward-line -1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue