Mercurial > emacs
changeset 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 | 0a9e39e97bfa |
children | a33250d752d4 |
files | lisp/play/gomoku.el |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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.