From: Wolfgang Jenkner <wjenkner@inode.at>
To: 20916@debbugs.gnu.org
Subject: bug#20916: 25.0.50; [PATCH] Calc `s p' glitch
Date: Sun, 28 Jun 2015 15:57:57 +0200 [thread overview]
Message-ID: <85egkwylqb.fsf@iznogoud.viz> (raw)
May I push the following patch?
-- >8 --
From 4c78b6aa26675f980d37fca7c0924f5219a4edb6 Mon Sep 17 00:00:00 2001
From: Wolfgang Jenkner <wjenkner@inode.at>
Date: Sun, 28 Jun 2015 15:46:57 +0200
Subject: [PATCH] * lisp/calc-store.el (calc-insert-permanent-variable): Heed
case.
Otherwise `s p' of f and F will stomp on each other's value.
---
lisp/calc/calc-store.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/calc/calc-store.el b/lisp/calc/calc-store.el
index 11bf964..91b927a 100644
--- a/lisp/calc/calc-store.el
+++ b/lisp/calc/calc-store.el
@@ -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)
--
2.4.2
next reply other threads:[~2015-06-28 13:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-28 13:57 Wolfgang Jenkner [this message]
2015-06-29 12:54 ` bug#20916: 25.0.50; [PATCH] Calc `s p' glitch Wolfgang Jenkner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85egkwylqb.fsf@iznogoud.viz \
--to=wjenkner@inode.at \
--cc=20916@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.