-2003-03-07 Teodor Zlatanov <tzz@lifelogs.com>
+2003-03-07 Teodor Zlatanov <tzz@bwh.harvard.edu>
* hashcash.el: New version from Paul Foley with better variable
names, executable-find support, and no errors in GNU Emacs
+ (hashcash-version): return nil when invoked with a
+ nil token
2003-02-21 Simon Josefsson <jas@extundo.com>
;;
;; Version 1.0 looked like nnnnnrrrrrxxxxxxxxxxxxxxxx
;; This is no longer supported.
- (cond ((equal (aref token 1) ?:) 1.2)
- ((equal (aref token 6) ?:) 1.1)
- (t (error "Unknown hashcash format version"))))
+ (if token
+ (cond ((equal (aref token 1) ?:) 1.2)
+ ((equal (aref token 6) ?:) 1.1)
+ (t (error "Unknown hashcash format version")))
+ nil))
;;;###autoload
(defun hashcash-insert-payment (arg)