emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r115841: Correct ses--file-format checking.


From: Vincent Belaïche
Subject: [Emacs-diffs] trunk r115841: Correct ses--file-format checking.
Date: Thu, 02 Jan 2014 22:59:15 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115841
revision-id: address@hidden
parent: address@hidden
committer: Vincent Belaïche  <address@hidden>
branch nick: trunk
timestamp: Thu 2014-01-02 23:54:37 +0100
message:
  Correct ses--file-format checking.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/ses.el                    ses.el-20091113204419-o5vbwnq5f7feedwu-2447
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-01-02 22:35:00 +0000
+++ b/lisp/ChangeLog    2014-01-02 22:54:37 +0000
@@ -14,6 +14,11 @@
 
 2014-01-02  Vincent Belaïche  <address@hidden>
 
+       * ses.el (ses-load): Correct handling for ses--file-format
+       checking.
+
+2014-01-02  Vincent Belaïche  <address@hidden>
+
        * ses.el (ses-initial-global-parameters-re): New defconst, a
        specific regexp is needed now that ses.el can handle both
        file-format 2 (no local printers) and 3 (may have local printers).

=== modified file 'lisp/ses.el'
--- a/lisp/ses.el       2014-01-02 21:05:34 +0000
+++ b/lisp/ses.el       2014-01-02 22:54:37 +0000
@@ -1860,7 +1860,7 @@
        (insert "(ses-header-row 0)\n")
        (ses-set-parameter 'ses--file-format 3)
        (message "Upgrading from SES-1 file format")))
-    (or (> ses--file-format 3)
+    (or (<= ses--file-format 3)
        (error "This file needs a newer version of the SES library code"))
     ;; Initialize cell array.
     (setq ses--cells (make-vector ses--numrows nil))


reply via email to

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