From: Nick Roberts Date: Mon, 2 May 2005 00:32:00 +0000 (+0000) Subject: (cc-define-list-program): X-Git-Tag: ttn-vms-21-2-B4~592 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=975e5c47ca8fa2d141e7b792099db6a745f5b1b8;p=emacs.git (cc-define-list-program): Change to "gcc -E -dM -". Make customizable. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3a7e608ef30..8e3b4e21d63 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2005-05-02 Nick Roberts + * progmodes/cc-mode.el (cc-create-define-alist): Use a shell. + (cc-mode-cpp-program): Rename to cc-define-list-program and + move to cc-vars.el. + + * progmodes/cc-vars.el (cc-define-list-program): + Change to "gcc -E -dM -". Make customizable. + 2005-05-02 Kim F. Storm * emulation/cua-base.el: Fix check for CUA-mode if no init file. diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el index 89697c58ca8..647b9bd1e23 100644 --- a/lisp/progmodes/cc-vars.el +++ b/lisp/progmodes/cc-vars.el @@ -1476,6 +1476,13 @@ names).")) :type 'c-extra-types-widget :group 'c) +(defcustom cc-define-list-program "gcc -E -dM -" + "The program name for generating a list of #define directives. +This list is used to display the #define directive associated +with an identifier as a tooltip. It works in a debug session +with GDB, when tooltip-gud-tips-p is t." + :type 'string + :group 'c) ;; Non-customizable variables, still part of the interface to CC Mode (defvar c-file-style nil