[Top][All Lists]

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

bug#17685:; help-C-file-name failes to create temp buffer " *D

From: Stefan Monnier
Subject: bug#17685:; help-C-file-name failes to create temp buffer " *DOC*"
Date: Wed, 04 Jun 2014 09:15:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> emacs -Q
> (find-lisp-object-file-name 'visible-bell 'defvar) ;visible-bell is just an
> example and can be replaced with any variable.

> C-source

> "src/dispnew.c"

Here's the reason for the behavior:
the DOC file is moderately large, so we don't want to load it into
memory just because the user did C-h v visible-bell RET.

So we only populate the *DOC* buffer when the user actually clicks on
the "C-source" link to jump to the source code.  And once the buffer is
populated, then there's no reason not to use it, so if *DOC* exists then
we do use it.

We could probably change it so that we always populate the *DOC* buffer
in the case where the C sources are available (so the behavior would
stay unchanged for users running pre-compiled Emacs, while it would
work better for those users who compile it themselves and keep the
source in place).  But I'm not sure it'd really be an improvement.


reply via email to

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