diff options
author | Glenn Morris <rgm@gnu.org> | 2015-04-24 00:10:11 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2015-04-24 00:10:11 -0700 |
commit | a3ac56ca550509ddcf8ab3bf23bbe939336caccc (patch) | |
tree | ee5e84cff2f05d5c663c919fcb7ffac2c82681a2 /test | |
parent | 5f8878796e20580afa4fbe171ddc0d0c7280c193 (diff) | |
download | emacs-a3ac56ca550509ddcf8ab3bf23bbe939336caccc.tar.gz |
* test/automated/message-mode-tests.el (message-mode-propertize):
Handle non-writable HOME; eg on hydra.nixos.org.
Diffstat (limited to 'test')
-rw-r--r-- | test/automated/message-mode-tests.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/automated/message-mode-tests.el b/test/automated/message-mode-tests.el index 4354b23725a..49a72b0e67a 100644 --- a/test/automated/message-mode-tests.el +++ b/test/automated/message-mode-tests.el @@ -24,13 +24,15 @@ ;; This file contains tests for message-mode. ;;; Code: + +(require 'message) (require 'ert) (require 'ert-x) (ert-deftest message-mode-propertize () (with-temp-buffer (unwind-protect - (progn + (let (message-auto-save-directory) (message-mode) (insert "here's an opener (\n" "here's a sad face :-(\n" @@ -54,4 +56,5 @@ (set-buffer-modified-p nil)))) (provide 'message-mode-tests) + ;;; message-mode-tests.el ends here |