;;; -*-Scheme-*-
;;;
-;;; $Id: loadef.scm,v 1.30 1997/03/07 23:34:51 cph Exp $
+;;; $Id: loadef.scm,v 1.31 1997/04/11 04:44:07 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-97 Massachusetts Institute of Technology
;;;
(define-autoload-command 'manual-entry 'MANUAL
"Display UNIX man page.")
+(define-autoload-command 'clean-manual-entry 'MANUAL
+ "Clean the unix manual entry in the current buffer.
+The current buffer should contain a formatted manual entry.")
+
(define-variable manual-entry-reuse-buffer?
"If true, MANUAL-ENTRY uses buffer *Manual-Entry* for all entries.
Otherwise, a new buffer is created for each topic."
;;; -*-Scheme-*-
;;;
-;;; $Id: manual.scm,v 1.13 1997/03/04 06:43:19 cph Exp $
+;;; $Id: manual.scm,v 1.14 1997/04/11 04:43:25 cph Exp $
;;;
;;; Copyright (c) 1991-97 Massachusetts Institute of Technology
;;;
(set-buffer-point! buffer (buffer-start buffer))
(pop-up-buffer buffer false)
(message "Manual page ready")))))
+
+(define-command clean-manual-entry
+ "Clean the unix manual entry in the current buffer.
+The current buffer should contain a formatted manual entry."
+ ()
+ (lambda () (nuke-nroff-bs (current-buffer))))
\f
(define (nuke-nroff-bs buffer)
(nuke-underlining buffer)