1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-30 08:09:04 +00:00

* lisp/ses.el (ses--letref): Quote value before it gets re-evaluated.

This commit is contained in:
Stefan Monnier 2014-09-29 16:25:19 -04:00
parent 2b3d968a02
commit 7348668952
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2014-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
* ses.el (ses--letref): Quote value before it gets re-evaluated.
2014-09-28 Thien-Thi Nguyen <ttn@gnu.org>
Font-lock `cl-flet*', too.

View File

@ -457,7 +457,7 @@ functions refer to its value."
(declare (indent 2) (debug (sexp form &rest body)))
(gv-letplace (getter setter) place
`(cl-macrolet ((,(nth 0 vars) () ',getter)
(,(nth 1 vars) (v) (funcall ,setter v)))
(,(nth 1 vars) (v) (funcall ',setter v)))
,@body)))
(defmacro ses-cell-property (property-name row &optional col)
@ -3398,7 +3398,7 @@ highlighted range in the spreadsheet."
(symbol-name new-name)))
(force-mode-line-update)))
(defun ses-refresh-local-printer (name compiled-value)
(defun ses-refresh-local-printer (name _compiled-value) ;FIXME: unused arg?
"Refresh printout for all cells which use printer NAME.
NAME should be the name of a locally defined printer.
Uses the value COMPILED-VALUE for this printer."