From b2f71562f97aed8c8c27ebef8d3313ab7adf14ce Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 20 Nov 2001 18:44:28 +0000 Subject: [PATCH] Mark lm-mode as special. Suggested by Klaus Straubinger . --- lisp/ChangeLog | 8 ++++++++ lisp/play/landmark.el | 3 +++ 2 files changed, 11 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4aba7f98c2f..0c95042974f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2001-11-20 Eli Zaretskii + + * play/landmark.el: Mark lm-mode as special. Suggested by Klaus + Straubinger . + + * play/gomoku.el: Mark gomoku-mode as special. Suggested by Klaus + Straubinger . + 2001-11-20 Stefan Monnier * progmodes/cperl-mode.el (cperl-perldoc): Require man before binding diff --git a/lisp/play/landmark.el b/lisp/play/landmark.el index 1680a4fec88..85c465da3ca 100644 --- a/lisp/play/landmark.el +++ b/lisp/play/landmark.el @@ -237,6 +237,9 @@ (put 'lm-mode 'front-sticky (put 'lm-mode 'rear-nonsticky '(intangible))) (put 'lm-mode 'intangible 1) +;; This one is for when they set view-read-only to t: Landmark cannot +;; allow View Mode to be activated in its buffer. +(put 'gomoku-mode 'mode-class 'special) (defun lm-mode () "Major mode for playing Lm against Emacs. -- 2.39.5