emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/mines 3fdc08a 03/43: * mines.el (mines-game-over): Set


From: Stefan Monnier
Subject: [elpa] externals/mines 3fdc08a 03/43: * mines.el (mines-game-over): Set face correctly
Date: Mon, 30 Nov 2020 18:44:12 -0500 (EST)

branch: externals/mines
commit 3fdc08a571de0c27f3e24778c719f21c3f609960
Author: Tino Calancha <tino.calancha@gmail.com>
Commit: Tino Calancha <tino.calancha@gmail.com>

    * mines.el (mines-game-over): Set face correctly
---
 mines.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mines.el b/mines.el
index 10fd6c5..2526735 100644
--- a/mines.el
+++ b/mines.el
@@ -392,7 +392,7 @@ If `custiom' then ask user for these numbers."
 (defun mines-game-over ()
   "Offer play a new game after uncover a bomb."
   (let ((inhibit-read-only t))
-    (put-text-property (point) (1+ (point)) 'face '(error fontified t))
+    (put-text-property (point) (1+ (point)) 'face 'error)
     (mines--show-all)
     (if (yes-or-no-p "Game over! Play again? ")
         (mines)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]