1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-22 04:21:24 -08:00

Mark gomoku-mode as special. Suggested by Klaus Straubinger <ksnetz@arcor.de>.

This commit is contained in:
Eli Zaretskii 2001-11-20 18:40:55 +00:00
parent 46585b32db
commit c4c8591a7e

View 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.