unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Setting tooltip-gud-tips-p directly has no effect
@ 2002-11-27 14:38 Glenn Morris
  0 siblings, 0 replies; only message in thread
From: Glenn Morris @ 2002-11-27 14:38 UTC (permalink / raw)



As the subject says, under both the latest CVS HEAD and RC branch, setting
tooltip-gud-tips-p to a non-nil value via setq has no effect. This variable
is defined in tooltip.el as follows:

(defcustom tooltip-gud-tips-p nil
  "*Non-nil means show tooltips in GUD sessions."
  :type 'boolean
  :tag "GUD"
  :set #'(lambda (symbol on)
	   (setq tooltip-gud-tips-p on)
	   (if on (tooltip-gud-tips-setup)))
  :group 'tooltip)

I think the doc string would benefit from an addition along the lines of
"Setting this variable directly does not take effect; use either M-x
customize or the function tooltip-gud-tips-activate", where
tooltip-gud-tips-activate would do something along the lines of

(setq tooltip-gud-tips-p t)
(tooltip-gud-tips-setup)

WDYT?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-27 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-27 14:38 Setting tooltip-gud-tips-p directly has no effect Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).