# HG changeset patch # User Eli Zaretskii # Date 1006281222 0 # Node ID b195fc74960076daeda648a4eb29d84f952e3142 # Parent 0a9e39e97bfa1f640e1571ac00c754ce69967baa Mark gomoku-mode as special. Suggested by Klaus Straubinger diff -r 0a9e39e97bfa -r b195fc749600 lisp/play/gomoku.el --- 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.