From a3ac56ca550509ddcf8ab3bf23bbe939336caccc Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 24 Apr 2015 00:10:11 -0700 Subject: [PATCH] * test/automated/message-mode-tests.el (message-mode-propertize): Handle non-writable HOME; eg on hydra.nixos.org. --- test/automated/message-mode-tests.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.2