Mercurial > emacs
changeset 72619:5dd4533a9a7e
(Man-topic-history): New variable.
(man): Use it.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Sat, 02 Sep 2006 23:28:55 +0000 |
parents | 396706df4954 |
children | 70dd4b1e1daf |
files | lisp/man.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/man.el Sat Sep 02 22:18:44 2006 +0000 +++ b/lisp/man.el Sat Sep 02 23:28:55 2006 +0000 @@ -388,6 +388,8 @@ /\e\\[[0-9][0-9]*m/ s///g" "Script for berkeley-like sed to nuke backspaces and ANSI codes from manpages.") +(defvar Man-topic-history nil "Topic read history.") + (defvar man-mode-syntax-table (let ((table (copy-syntax-table (standard-syntax-table)))) (modify-syntax-entry ?. "w" table) @@ -686,7 +688,7 @@ (if (string= default-entry "") ": " (format " (default %s): " default-entry))) - nil nil default-entry))) + nil 'Man-topic-history default-entry))) (if (string= input "") (error "No man args given") input))))