summaryrefslogtreecommitdiff
path: root/lisp/ses.el
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 /lisp/ses.el
parent887a0b3446c5bd285d4a146bd85d6b9e69379c74 (diff)
downloademacs-28e77c468242b75d8d8331add57be1186058e653.tar.gz
* lisp/ses.el (row, col): Declare dynamic variables honestly.
Diffstat (limited to 'lisp/ses.el')
-rw-r--r--lisp/ses.el6
1 files changed, 2 insertions, 4 deletions
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