aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/play
diff options
context:
space:
mode:
authorLars Ingebrigtsen2021-02-22 23:27:53 +0100
committerLars Ingebrigtsen2021-02-22 23:27:53 +0100
commit11e22452b0ab6f2ea7679665ed8e9abcbc03eae9 (patch)
tree79458954020d6792a95e9f8ab9544963b5f9cbec /lisp/play
parent79d585c2befb81ac5480a9577eaeb6e8915cae23 (diff)
downloademacs-11e22452b0ab6f2ea7679665ed8e9abcbc03eae9.tar.gz
emacs-11e22452b0ab6f2ea7679665ed8e9abcbc03eae9.zip
Do mode tagging in bubbles.el
Diffstat (limited to 'lisp/play')
-rw-r--r--lisp/play/bubbles.el18
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/play/bubbles.el b/lisp/play/bubbles.el
index dddd19fa0a3..50f65a1215e 100644
--- a/lisp/play/bubbles.el
+++ b/lisp/play/bubbles.el
@@ -772,41 +772,41 @@ static char * dot3d_xpm[] = {
772 772
773(defun bubbles-set-graphics-theme-ascii () 773(defun bubbles-set-graphics-theme-ascii ()
774 "Set graphics theme to `ascii'." 774 "Set graphics theme to `ascii'."
775 (interactive) 775 (interactive nil bubbles-mode)
776 (setq bubbles-graphics-theme 'ascii) 776 (setq bubbles-graphics-theme 'ascii)
777 (bubbles--update-faces-or-images)) 777 (bubbles--update-faces-or-images))
778 778
779(defun bubbles-set-graphics-theme-circles () 779(defun bubbles-set-graphics-theme-circles ()
780 "Set graphics theme to `circles'." 780 "Set graphics theme to `circles'."
781 (interactive) 781 (interactive nil bubbles-mode)
782 (setq bubbles-graphics-theme 'circles) 782 (setq bubbles-graphics-theme 'circles)
783 (bubbles--initialize-images) 783 (bubbles--initialize-images)
784 (bubbles--update-faces-or-images)) 784 (bubbles--update-faces-or-images))
785 785
786(defun bubbles-set-graphics-theme-squares () 786(defun bubbles-set-graphics-theme-squares ()
787 "Set graphics theme to `squares'." 787 "Set graphics theme to `squares'."
788 (interactive) 788 (interactive nil bubbles-mode)
789 (setq bubbles-graphics-theme 'squares) 789 (setq bubbles-graphics-theme 'squares)
790 (bubbles--initialize-images) 790 (bubbles--initialize-images)
791 (bubbles--update-faces-or-images)) 791 (bubbles--update-faces-or-images))
792 792
793(defun bubbles-set-graphics-theme-diamonds () 793(defun bubbles-set-graphics-theme-diamonds ()
794 "Set graphics theme to `diamonds'." 794 "Set graphics theme to `diamonds'."
795 (interactive) 795 (interactive nil bubbles-mode)
796 (setq bubbles-graphics-theme 'diamonds) 796 (setq bubbles-graphics-theme 'diamonds)
797 (bubbles--initialize-images) 797 (bubbles--initialize-images)
798 (bubbles--update-faces-or-images)) 798 (bubbles--update-faces-or-images))
799 799
800(defun bubbles-set-graphics-theme-balls () 800(defun bubbles-set-graphics-theme-balls ()
801 "Set graphics theme to `balls'." 801 "Set graphics theme to `balls'."
802 (interactive) 802 (interactive nil bubbles-mode)
803 (setq bubbles-graphics-theme 'balls) 803 (setq bubbles-graphics-theme 'balls)
804 (bubbles--initialize-images) 804 (bubbles--initialize-images)
805 (bubbles--update-faces-or-images)) 805 (bubbles--update-faces-or-images))
806 806
807(defun bubbles-set-graphics-theme-emacs () 807(defun bubbles-set-graphics-theme-emacs ()
808 "Set graphics theme to `emacs'." 808 "Set graphics theme to `emacs'."
809 (interactive) 809 (interactive nil bubbles-mode)
810 (setq bubbles-graphics-theme 'emacs) 810 (setq bubbles-graphics-theme 'emacs)
811 (bubbles--initialize-images) 811 (bubbles--initialize-images)
812 (bubbles--update-faces-or-images)) 812 (bubbles--update-faces-or-images))
@@ -914,7 +914,7 @@ columns on its right towards the left.
914 914
915(defun bubbles-quit () 915(defun bubbles-quit ()
916 "Quit Bubbles." 916 "Quit Bubbles."
917 (interactive) 917 (interactive nil bubbles-mode)
918 (message "bubbles-quit") 918 (message "bubbles-quit")
919 (bury-buffer)) 919 (bury-buffer))
920 920
@@ -1165,7 +1165,7 @@ Use optional parameter POS instead of point if given."
1165 1165
1166(defun bubbles-plop () 1166(defun bubbles-plop ()
1167 "Remove active bubbles region." 1167 "Remove active bubbles region."
1168 (interactive) 1168 (interactive nil bubbles-mode)
1169 (when (and bubbles--playing 1169 (when (and bubbles--playing
1170 (> bubbles--neighborhood-score 0)) 1170 (> bubbles--neighborhood-score 0))
1171 (setq bubbles--save-data (list bubbles--score (buffer-string))) 1171 (setq bubbles--save-data (list bubbles--score (buffer-string)))
@@ -1249,7 +1249,7 @@ Use optional parameter POS instead of point if given."
1249 1249
1250(defun bubbles-undo () 1250(defun bubbles-undo ()
1251 "Undo last move." 1251 "Undo last move."
1252 (interactive) 1252 (interactive nil bubbles-mode)
1253 (when bubbles--save-data 1253 (when bubbles--save-data
1254 (let ((inhibit-read-only t) 1254 (let ((inhibit-read-only t)
1255 (pos (point))) 1255 (pos (point)))