]> git.eshelyaron.com Git - emacs.git/commitdiff
Mark gomoku-mode as special. Suggested by Klaus Straubinger <ksnetz@arcor.de>.
authorEli Zaretskii <eliz@gnu.org>
Tue, 20 Nov 2001 18:40:55 +0000 (18:40 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 20 Nov 2001 18:40:55 +0000 (18:40 +0000)
lisp/play/gomoku.el

index d360b1d8a4ba9ff37cb7b7d18a6fbc83213019c7..3e61c6c4cf7ada585b4af6a43dd8414fc54ebb2a 100644 (file)
@@ -167,6 +167,9 @@ One useful value to include is `turn-on-font-lock' to highlight the pieces."
 (put 'gomoku-mode 'front-sticky
      (put 'gomoku-mode 'rear-nonsticky '(intangible)))
 (put 'gomoku-mode 'intangible 1)
+;; This one is for when they set view-read-only to t: Gomoku cannot
+;; allow View Mode to be activated in its buffer.
+(put 'gomoku-mode 'mode-class 'special)
 
 (defun gomoku-mode ()
   "Major mode for playing Gomoku against Emacs.