home *** CD-ROM | disk | FTP | other *** search
- Jamie,
-
- Further to your recent posting of man.el, can I suggest that Manual-mode
- runs a user-definable hook at the very end? I enclose a patch for this.
-
- --
- Regards, David
-
- 8< ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CUT HERE for file: man.el-patch
- *** man.el.orig Thu Apr 15 09:45:30 1993
- --- man.el Thu Apr 15 12:08:24 1993
- ***************
- *** 332,343 ****
- (define-key m 'button3 'Manual-popup-menu)
- m))
-
- (defun Manual-mode ()
- (kill-all-local-variables)
- (setq buffer-read-only t)
- (use-local-map Manual-mode-map)
- (setq major-mode 'Manual-mode
- ! mode-name "Manual"))
-
- ;; Manual-select-subdirectories
- ;; Given a DIRLIST and a SUBDIR name, return all subdirectories of the former which
- --- 332,347 ----
- (define-key m 'button3 'Manual-popup-menu)
- m))
-
- + (defvar Manual-mode-hook nil
- + "Run at the very end of Manual-mode.")
- +
- (defun Manual-mode ()
- (kill-all-local-variables)
- (setq buffer-read-only t)
- (use-local-map Manual-mode-map)
- (setq major-mode 'Manual-mode
- ! mode-name "Manual")
- ! (run-hooks 'Manual-mode-hook))
-
- ;; Manual-select-subdirectories
- ;; Given a DIRLIST and a SUBDIR name, return all subdirectories of the former which
-
-