/[emacs]/emacs/lisp/progmodes/cc-mode.el
ViewVC logotype

Diff of /emacs/lisp/progmodes/cc-mode.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.17 by eliz, Fri May 4 10:02:56 2001 UTC revision 1.18 by sds, Mon Nov 26 21:15:28 2001 UTC
# Line 385  Note that the style variables are always Line 385  Note that the style variables are always
385         (c-set-style c-file-style))         (c-set-style c-file-style))
386    (and c-file-offsets    (and c-file-offsets
387         (mapcar         (mapcar
388          (function          (lambda (langentry)
389           (lambda (langentry)            (let ((langelem (car langentry))
390             (let ((langelem (car langentry))                  (offset (cdr langentry)))
391                   (offset (cdr langentry)))              (c-set-offset langelem offset)))
              (c-set-offset langelem offset)  
              )))  
392          c-file-offsets)))          c-file-offsets)))
393    
394  (add-hook 'hack-local-variables-hook 'c-postprocess-file-styles)  (add-hook 'hack-local-variables-hook 'c-postprocess-file-styles)
# Line 893  CC Mode by making sure the proper entrie Line 891  CC Mode by making sure the proper entrie
891                    filladapt-mode                    filladapt-mode
892                    defun-prompt-regexp))                    defun-prompt-regexp))
893          vars)          vars)
894        (function        (lambda ()
895         (lambda ()          (run-hooks 'c-prepare-bug-report-hooks)
896           (run-hooks 'c-prepare-bug-report-hooks)          (insert (format "Buffer Style: %s\n\nc-emacs-features: %s\n"
897           (insert                          style c-features)))))))
           "Buffer Style: " style "\n\n"  
           (format "c-emacs-features: %s\n" c-features)  
           )))))))  
898    
899    
900  (cc-provide 'cc-mode)  (cc-provide 'cc-mode)

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26