Index: emacs/lisp/progmodes/cc-mode.el
diff -c emacs/lisp/progmodes/cc-mode.el:1.34
emacs/lisp/progmodes/cc-mode.el:1.35
*** emacs/lisp/progmodes/cc-mode.el:1.34 Wed Apr 27 21:59:43 2005
--- emacs/lisp/progmodes/cc-mode.el Fri Apr 29 18:23:33 2005
***************
*** 640,652 ****
;;;###autoload (add-to-list 'auto-mode-alist '("\\.lex\\'" . c-mode))
(defvar cc-define-alist nil "Alist of #define directives for GUD tooltips.")
(defun cc-create-define-alist ()
(let* ((file (buffer-file-name))
(output
(with-output-to-string
(with-current-buffer standard-output
! (call-process "/lib/cpp"
file t nil "-dM"))))
(define-list (split-string output "\n" t))
(name))
--- 640,654 ----
;;;###autoload (add-to-list 'auto-mode-alist '("\\.lex\\'" . c-mode))
(defvar cc-define-alist nil "Alist of #define directives for GUD tooltips.")
+ (defvar cc-mode-cpp-program "/lib/cpp"
+ "*The program name for the CPP pre-processor.")
(defun cc-create-define-alist ()
(let* ((file (buffer-file-name))
(output
(with-output-to-string
(with-current-buffer standard-output
! (call-process cc-mode-cpp-program
file t nil "-dM"))))
(define-list (split-string output "\n" t))
(name))
_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs