emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r104793: * lisp/ses.el (row, col): De


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104793: * lisp/ses.el (row, col): Declare dynamic variables honestly.
Date: Wed, 29 Jun 2011 19:51:27 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104793
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2011-06-29 19:51:27 -0700
message:
  * lisp/ses.el (row, col): Declare dynamic variables honestly.
modified:
  lisp/ChangeLog
  lisp/ses.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-06-30 02:50:20 +0000
+++ b/lisp/ChangeLog    2011-06-30 02:51:27 +0000
@@ -1,5 +1,7 @@
 2011-06-30  Glenn Morris  <address@hidden>
 
+       * ses.el (row, col): Declare dynamic variables honestly.
+
        * textmodes/reftex-parse.el (index-tags): Declare.
 
 2011-06-30  Chong Yidong  <address@hidden>

=== modified file 'lisp/ses.el'
--- a/lisp/ses.el       2011-06-29 18:37:31 +0000
+++ b/lisp/ses.el       2011-06-30 02:51:27 +0000
@@ -3348,10 +3348,8 @@
 ;; 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]