emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/cc-mode.el


From: Sam Steingold
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/cc-mode.el
Date: Fri, 29 Apr 2005 14:23:34 -0400

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))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]