> You'd be better served postponing execution of such a command to the moment > when it's actually needed (i.e. when gud-tooltips are actually being used). > If the user gets an error when she uses gud-tooltips, he won't mind, but if > she gets the error about something that she won't even ever use, she has > reasons to be upset.
I've moved it closer to this: the define lists are only generated in a debug session. To do this only when gud-tooltips are being used means that the list generation etc needs to be triggered when tooltip-gud-tips-p is set to t and the local variable gdb-define-alist killed etc when it's set to nil. Perhaps tooltip-gud-tips-p should be replaced with some kind of minor mode. Any ideas? Nick _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel