summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Belaïche <vincentb1@users.sourceforge.net>2012-11-24 18:44:29 +0100
committerVincent Belaïche <vincentb1@users.sourceforge.net>2012-11-24 18:44:29 +0100
commitecfc364c8fdb266fae7f250fb7fe8b3f7856faba (patch)
treee6ea6a868b8e312a1ba2207938f8649913d26bd7
parentbcd77a2ba0298c8551fef7c08b001a0f0517bac3 (diff)
downloademacs-ecfc364c8fdb266fae7f250fb7fe8b3f7856faba.tar.gz
* ses.el (ses-rename-cell): Correct bug on mode-line update after cell renaming.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/ses.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 73db20178ad..a15957c8711 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
+
+ * ses.el (ses-rename-cell): Correct bug on mode-line update after
+ cell renaming.
+
2012-11-24 Chong Yidong <cyd@gnu.org>
* woman.el (woman-default-faces, woman-monochrome-faces): Mark as
diff --git a/lisp/ses.el b/lisp/ses.el
index 27b906d22e3..a0b69232e19 100644
--- a/lisp/ses.el
+++ b/lisp/ses.el
@@ -3313,7 +3313,7 @@ highlighted range in the spreadsheet."
(put-text-property pos end 'intangible new-name))
;; update mode line
(setq mode-line-process (list " cell "
- (symbol-name sym)))
+ (symbol-name new-name)))
(force-mode-line-update)))
;;----------------------------------------------------------------------------