]> code.delx.au - gnu-emacs/commitdiff
* lisp/ses.el (row, col): Declare dynamic variables honestly.
authorGlenn Morris <rgm@gnu.org>
Thu, 30 Jun 2011 02:51:27 +0000 (19:51 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 30 Jun 2011 02:51:27 +0000 (19:51 -0700)
lisp/ChangeLog
lisp/ses.el

index e3f146e3ab0338d1fd5d164efd439ba888208736..b8ba010b1a881519af4aa29c81c778d1164d72e1 100644 (file)
@@ -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>
index a0df6a5e2cc050c07bcdc266b1cd4f6d351826dc..9b2048eae836778b260c46de7b47e08bd7e47af1 100644 (file)
@@ -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