From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: help-fns.el patch Date: Thu, 06 Sep 2007 00:59:51 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1189055319 27011 80.91.229.12 (6 Sep 2007 05:08:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 6 Sep 2007 05:08:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 06 07:08:39 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IT9bX-00081g-QD for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 07:08:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IT9bW-00043X-72 for ged-emacs-devel@m.gmane.org; Thu, 06 Sep 2007 01:08:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IT9TX-0004O7-1Y for emacs-devel@gnu.org; Thu, 06 Sep 2007 01:00:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IT9TU-0004Ls-Tq for emacs-devel@gnu.org; Thu, 06 Sep 2007 01:00:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IT9TU-0004LR-E2 for emacs-devel@gnu.org; Thu, 06 Sep 2007 01:00:16 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IT9TR-0004hI-Tt for emacs-devel@gnu.org; Thu, 06 Sep 2007 01:00:16 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IT9T5-00051E-GQ; Thu, 06 Sep 2007 00:59:51 -0400 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77931 Archived-At: Would someone please install this in the trunk, then ack? > 2007-01-24 Johan Bockgård > > * help-fns.el (describe-variable): Keep doc's text properties. > > Index: lisp/help-fns.el > =================================================================== > RCS file: /cvsroot/emacs/emacs/lisp/help-fns.el,v > retrieving revision 1.96 > diff -u -r1.96 help-fns.el > --- lisp/help-fns.el 23 Jan 2007 07:16:11 -0000 1.96 > +++ lisp/help-fns.el 24 Jan 2007 23:15:35 -0000 > @@ -596,7 +596,8 @@ > "which is byte-compiled expression.\n" > (format "`%s'.\n" safe-var)))) > (princ "\nDocumentation:\n") > - (princ (or doc "Not documented as a variable."))) > + (with-current-buffer standard-output > + (insert (or doc "Not documented as a variable.")))) > ;; Make a link to customize if this variable can be customized. > (if (custom-variable-p variable) > (let ((customize-label "customize"))