Commit 33bebaa2 authored by Vincent Belaïche's avatar Vincent Belaïche
Browse files

Correct ses--file-format checking.

parent e831604d
......@@ -12,6 +12,11 @@
* mail/rmail.el (rmail-get-coding-function): Variable.
(rmail-get-coding-system): Use it.
2014-01-02 Vincent Belaïche <>
* ses.el (ses-load): Correct handling for ses--file-format
2014-01-02 Vincent Belaïche <>
* ses.el (ses-initial-global-parameters-re): New defconst, a
......@@ -1860,7 +1860,7 @@ Does not execute cell formulas or print functions."
(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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment