summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2011-06-29 19:51:27 -0700
committerGlenn Morris <rgm@gnu.org>2011-06-29 19:51:27 -0700
commit28e77c468242b75d8d8331add57be1186058e653 (patch)
treebeb610d24741a713907bcadacef6dcc2acf456d7
parent887a0b3446c5bd285d4a146bd85d6b9e69379c74 (diff)
downloademacs-28e77c468242b75d8d8331add57be1186058e653.tar.gz
* lisp/ses.el (row, col): Declare dynamic variables honestly.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/ses.el6
2 files changed, 4 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e3f146e3ab0..b8ba010b1a8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2011-06-30 Glenn Morris <rgm@gnu.org>
+ * ses.el (row, col): Declare dynamic variables honestly.
+
* textmodes/reftex-parse.el (index-tags): Declare.
2011-06-30 Chong Yidong <cyd@stupidchicken.com>
diff --git a/lisp/ses.el b/lisp/ses.el
index a0df6a5e2cc..9b2048eae83 100644
--- a/lisp/ses.el
+++ b/lisp/ses.el
@@ -3348,10 +3348,8 @@ TEST is evaluated."
;; These functions use the variables 'row' and 'col' that are dynamically bound
;; by ses-print-cell. We define these variables at compile-time to make the
;; compiler happy.
-(eval-when-compile
- (dolist (x '(row col))
- (make-local-variable x)
- (set x nil)))
+(defvar row)
+(defvar col)
(defun ses-center (value &optional span fill)
"Print VALUE, centered within column. FILL is the fill character for