diff options
author | Eli Zaretskii <eliz@gnu.org> | 2001-11-20 18:33:42 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2001-11-20 18:33:42 +0000 |
commit | ea51468153232221b6d1abf792d2622670e289df (patch) | |
tree | 37556ef7ac020045412cff9577bf45a09aed534d /lisp/play | |
parent | 381321494657eda6861cad615a95a4745f15c453 (diff) | |
download | emacs-ea51468153232221b6d1abf792d2622670e289df.tar.gz |
Mark gomoku-mode as special. Suggested by Klaus Straubinger
<ksnetz@arcor.de>
Diffstat (limited to 'lisp/play')
-rw-r--r-- | lisp/play/gomoku.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/play/gomoku.el b/lisp/play/gomoku.el index 7b2a9bd42d9..d81b2e79c17 100644 --- a/lisp/play/gomoku.el +++ b/lisp/play/gomoku.el @@ -188,6 +188,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) (define-derived-mode gomoku-mode nil "Gomoku" "Major mode for playing Gomoku against Emacs. |