* dns-mode.el (auto-mode-alist): Purecopy string.
2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
* hashcash.el (hashcash-generate-payment): Use with-current-buffer.
+2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * dns-mode.el (auto-mode-alist): Purecopy string.
+
+2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * hashcash.el (hashcash-generate-payment): Use with-current-buffer.
+
2009-10-24 Glenn Morris <rgm@gnu.org>
* gnus-art.el (help-xref-stack-item): Define for compiler.
;; We return nil in case this is used in write-contents-functions.
nil)))
-;;;###autoload(add-to-list 'auto-mode-alist '("\\.soa\\'" . dns-mode))
+;;;###autoload(add-to-list 'auto-mode-alist (purecopy '("\\.soa\\'" . dns-mode)))
(provide 'dns-mode)
"Generate a hashcash payment by finding a VAL-bit collison on STR."
(if (and (> val 0)
hashcash-path)
- (save-excursion
- (set-buffer (get-buffer-create " *hashcash*"))
+ (with-current-buffer (get-buffer-create " *hashcash*")
(erase-buffer)
(apply 'call-process hashcash-path nil t nil
"-m" "-q" "-b" (number-to-string val) str