diff lisp/play/gomoku.el @ 41316:b195fc749600

Mark gomoku-mode as special. Suggested by Klaus Straubinger <ksnetz@arcor.de>
author Eli Zaretskii <eliz@gnu.org>
date Tue, 20 Nov 2001 18:33:42 +0000
parents c9b14656dfc4
children 809d8f73caaf
line wrap: on
line diff
--- a/lisp/play/gomoku.el	Tue Nov 20 18:26:55 2001 +0000
+++ b/lisp/play/gomoku.el	Tue Nov 20 18:33:42 2001 +0000
@@ -188,6 +188,9 @@
 (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)
 
 (define-derived-mode gomoku-mode nil "Gomoku"
   "Major mode for playing Gomoku against Emacs.