diff options
| author | Richard M. Stallman | 2002-08-09 16:41:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-08-09 16:41:01 +0000 |
| commit | f8da45ad01dd996e2beacdcd0f3820e19870399f (patch) | |
| tree | 852abddd082ef5526e9dfbd66b980a95a5a2f29b | |
| parent | 16236388b2396a28deb625c9ecc98978b8065f96 (diff) | |
| download | emacs-f8da45ad01dd996e2beacdcd0f3820e19870399f.tar.gz emacs-f8da45ad01dd996e2beacdcd0f3820e19870399f.zip | |
(pages-directory-mode): Undo previous change.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/textmodes/page-ext.el | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c289d76e7e1..d7b5d3347a8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2002-08-09 Richard M. Stallman <rms@gnu.org> | 1 | 2002-08-09 Richard M. Stallman <rms@gnu.org> |
| 2 | 2 | ||
| 3 | * textmodes/page-ext.el (pages-directory-mode): Undo previous change. | ||
| 4 | |||
| 3 | * simple.el (set-variable): Give locality status in prompt. | 5 | * simple.el (set-variable): Give locality status in prompt. |
| 4 | 6 | ||
| 5 | 2002-08-09 Benjamin Rutt <rutt@cis.ohio-state.edu> | 7 | 2002-08-09 Benjamin Rutt <rutt@cis.ohio-state.edu> |
diff --git a/lisp/textmodes/page-ext.el b/lisp/textmodes/page-ext.el index 9bf4588a43b..87059d21b0a 100644 --- a/lisp/textmodes/page-ext.el +++ b/lisp/textmodes/page-ext.el | |||
| @@ -694,11 +694,16 @@ Used by `pages-directory' function." | |||
| 694 | (terpri)) | 694 | (terpri)) |
| 695 | (end-of-line 1))) | 695 | (end-of-line 1))) |
| 696 | 696 | ||
| 697 | (define-derived-mode pages-directory-mode nil "Pages-Directory" | 697 | (defun pages-directory-mode () |
| 698 | "Mode for handling the pages-directory buffer. | 698 | "Mode for handling the pages-directory buffer. |
| 699 | 699 | ||
| 700 | Move point to one of the lines in this buffer, then use \\[pages-directory-goto] to go | 700 | Move point to one of the lines in this buffer, then use \\[pages-directory-goto] to go |
| 701 | to the same line in the pages buffer." | 701 | to the same line in the pages buffer." |
| 702 | |||
| 703 | (kill-all-local-variables) | ||
| 704 | (use-local-map pages-directory-map) | ||
| 705 | (setq major-mode 'pages-directory-mode) | ||
| 706 | (setq mode-name "Pages-Directory") | ||
| 702 | (make-local-variable 'pages-buffer) | 707 | (make-local-variable 'pages-buffer) |
| 703 | (make-local-variable 'pages-pos-list) | 708 | (make-local-variable 'pages-pos-list) |
| 704 | (make-local-variable 'pages-directory-buffer-narrowing-p)) | 709 | (make-local-variable 'pages-directory-buffer-narrowing-p)) |