emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#9030: closed (`where-is' doesn't play well `with w


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#9030: closed (`where-is' doesn't play well `with with-output-to-string')
Date: Tue, 13 Sep 2011 07:24:01 +0000

Your message dated Tue, 13 Sep 2011 03:18:34 -0400
with message-id <address@hidden>
and subject line Re: bug#9030: `where-is' doesn't play well `with 
with-output-to-string'
has caused the debbugs.gnu.org bug report #9030,
regarding `where-is' doesn't play well `with with-output-to-string'
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
9030: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9030
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: `where-is' doesn't play well `with with-output-to-string' Date: Fri, 8 Jul 2011 19:39:24 -0700
This expression:

(with-output-to-string
  (where-is 'yank))

returns nil, and prints a message in the echo area.  This one-line
change fixes it:

diff --git a/lisp/help.el b/lisp/help.el
index e6496f6..53e99e7 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -527,7 +527,7 @@ If INSERT (the prefix arg) is non-nil, insert the
message in the buffer."
   (unless definition (error "No command"))
   (let ((func (indirect-function definition))
         (defs nil)
-        (standard-output (if insert (current-buffer) t)))
+        (standard-output (if insert (current-buffer) standard-output)))
     ;; In DEFS, find all symbols that are aliases for DEFINITION.
     (mapatoms (lambda (symbol)
                (and (fboundp symbol)



--- End Message ---
--- Begin Message --- Subject: Re: bug#9030: `where-is' doesn't play well `with with-output-to-string' Date: Tue, 13 Sep 2011 03:18:34 -0400 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
Version: 24.1

Thanks; applied.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]