From 8956add079a02cc046d6e8fe309c0541422cf37c Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 15 Jun 2000 01:37:50 +0000 Subject: [PATCH] In description for imail-mode, don't show variables for imail-summary-mode. Also, show value for each variable. --- v7/src/imail/imail-top.scm | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/v7/src/imail/imail-top.scm b/v7/src/imail/imail-top.scm index d055bf1f2..9658090c4 100644 --- a/v7/src/imail/imail-top.scm +++ b/v7/src/imail/imail-top.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: imail-top.scm,v 1.154 2000/06/15 01:11:22 cph Exp $ +;;; $Id: imail-top.scm,v 1.155 2000/06/15 01:37:50 cph Exp $ ;;; ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology ;;; @@ -408,15 +408,22 @@ regardless of the folder type." (newline port) (newline port) (for-each - (lambda (variable) - (write-string (variable-name-string variable) port) - (newline port) - (write-string " " port) - (write-description - (description-first-line (variable-description variable)) - port) - (newline port) - (newline port)) + (let ((buffer (selected-buffer))) + (lambda (variable) + (let ((name (variable-name-string variable))) + (if (not (string-prefix-ci? "imail-summary-" name)) + (begin + (write-string name port) + (newline port) + (write-string " " port) + (write-description + (description-first-line (variable-description variable)) + port) + (newline port) + (write-string " Value: " port) + (write (variable-local-value buffer variable) port) + (newline port) + (newline port)))))) (string-table-apropos editor-variables "^imail-")) (write-string (make-string 70 #\-) port) (newline port) -- 2.25.1