diff options
| author | Nick Roberts | 2005-05-02 00:32:00 +0000 |
|---|---|---|
| committer | Nick Roberts | 2005-05-02 00:32:00 +0000 |
| commit | 975e5c47ca8fa2d141e7b792099db6a745f5b1b8 (patch) | |
| tree | 901811e6b4898f58638840106fd051310d262d39 | |
| parent | 9c09f54acc80ee09d4191326ec7293e31e50d867 (diff) | |
| download | emacs-975e5c47ca8fa2d141e7b792099db6a745f5b1b8.tar.gz emacs-975e5c47ca8fa2d141e7b792099db6a745f5b1b8.zip | |
(cc-define-list-program):
Change to "gcc -E -dM -". Make customizable.
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/progmodes/cc-vars.el | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3a7e608ef30..8e3b4e21d63 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2005-05-02 Nick Roberts <nickrob@snap.net.nz> | ||
| 2 | * progmodes/cc-mode.el (cc-create-define-alist): Use a shell. | ||
| 3 | (cc-mode-cpp-program): Rename to cc-define-list-program and | ||
| 4 | move to cc-vars.el. | ||
| 5 | |||
| 6 | * progmodes/cc-vars.el (cc-define-list-program): | ||
| 7 | Change to "gcc -E -dM -". Make customizable. | ||
| 8 | |||
| 1 | 2005-05-02 Kim F. Storm <storm@cua.dk> | 9 | 2005-05-02 Kim F. Storm <storm@cua.dk> |
| 2 | 10 | ||
| 3 | * emulation/cua-base.el: Fix check for CUA-mode if no init file. | 11 | * 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).")) | |||
| 1476 | :type 'c-extra-types-widget | 1476 | :type 'c-extra-types-widget |
| 1477 | :group 'c) | 1477 | :group 'c) |
| 1478 | 1478 | ||
| 1479 | (defcustom cc-define-list-program "gcc -E -dM -" | ||
| 1480 | "The program name for generating a list of #define directives. | ||
| 1481 | This list is used to display the #define directive associated | ||
| 1482 | with an identifier as a tooltip. It works in a debug session | ||
| 1483 | with GDB, when tooltip-gud-tips-p is t." | ||
| 1484 | :type 'string | ||
| 1485 | :group 'c) | ||
| 1479 | 1486 | ||
| 1480 | ;; Non-customizable variables, still part of the interface to CC Mode | 1487 | ;; Non-customizable variables, still part of the interface to CC Mode |
| 1481 | (defvar c-file-style nil | 1488 | (defvar c-file-style nil |