GNU bug report logs - #6644
`describe-variable' misses on certain permanent-locals [PATCH] (putative)

Previous Next

Package: emacs;

Reported by: MON KEY <monkey <at> sandpframing.com>

Date: Fri, 16 Jul 2010 00:15:02 UTC

Severity: minor

Tags: patch

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: MON KEY <monkey <at> sandpframing.com>
Cc: 6644 <at> debbugs.gnu.org
Subject: bug#6644: `describe-variable' misses on certain permanent-locals [PATCH] (putative)
Date: Sun, 05 Aug 2012 16:42:31 +0800
MON KEY <monkey <at> sandpframing.com> writes:

> As currently written `describe-variable' will, for certain variables,
> only inform if a variable is permanently local when it is set to have
> a local value in current-buffer.
>
> This happens for example with `kill-buffer-hook' which _is_ a
> permanent-local. And in thes situations, `describe-variable' (and by
> proxy "*Help*") can not tell us if a variable is permanent-local
> unless the docstring explicitly states as such.

Thanks.  I committed a slightly different fix than what you suggested.




This bug report was last modified 12 years and 316 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.