1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

* play/gomoku.el (gomoku-mode):

* textmodes/page-ext.el (pages-directory-mode):
* textmodes/scribe.el (scribe-mode): Use define-derived-mode.
This commit is contained in:
Stefan Monnier 2001-10-13 19:19:01 +00:00
parent d1a27f1dd8
commit a3d15b8fdd

View File

@ -694,16 +694,11 @@ Used by `pages-directory' function."
(terpri))
(end-of-line 1)))
(defun pages-directory-mode ()
(define-derived-mode pages-directory-mode nil "Pages-Directory"
"Mode for handling the pages-directory buffer.
Move point to one of the lines in this buffer, then use \\[pages-directory-goto] to go
to the same line in the pages buffer."
(kill-all-local-variables)
(use-local-map pages-directory-map)
(setq major-mode 'pages-directory-mode)
(setq mode-name "Pages-Directory")
(make-local-variable 'pages-buffer)
(make-local-variable 'pages-pos-list)
(make-local-variable 'pages-directory-buffer-narrowing-p))