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:
parent
46585b32db
commit
c4c8591a7e
1 changed files with 3 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue