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:
parent
d1a27f1dd8
commit
a3d15b8fdd
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user