/[emacs]/emacs/lisp/find-file.el
ViewVC logotype

Diff of /emacs/lisp/find-file.el

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

revision 1.18.2.2 by miles, Tue Oct 14 23:51:03 2003 UTC revision 1.18.2.3 by miles, Fri Oct 29 02:05:09 2004 UTC
# Line 57  Line 57 
57  ;; format above can be changed to include a function to be called when the  ;; format above can be changed to include a function to be called when the
58  ;; current file matches the regexp:  ;; current file matches the regexp:
59  ;;  ;;
60  ;;   '(("\\.cc$"  cc-function)  ;;   '(("\\.cc$"  cc--function)
61  ;;     ("\\.hh$"  hh-function))  ;;     ("\\.hh$"  hh-function))
62  ;;  ;;
63  ;; These functions must return a list consisting of the possible names of the  ;; These functions must return a list consisting of the possible names of the
# Line 239  the preceding slash.  The star represent Line 239  the preceding slash.  The star represent
239    :group 'ff)    :group 'ff)
240    
241  (defcustom cc-other-file-alist  (defcustom cc-other-file-alist
242    '(    '(("\\.cc\\'"  (".hh" ".h"))
243      ("\\.cc$"  (".hh" ".h"))      ("\\.hh\\'"  (".cc" ".C"))
     ("\\.hh$"  (".cc" ".C"))  
244    
245      ("\\.c$"   (".h"))      ("\\.c\\'"   (".h"))
246      ("\\.h$"   (".c" ".cc" ".C" ".CC" ".cxx" ".cpp"))      ("\\.h\\'"   (".c" ".cc" ".C" ".CC" ".cxx" ".cpp"))
247    
248      ("\\.C$"   (".H"  ".hh" ".h"))      ("\\.C\\'"   (".H"  ".hh" ".h"))
249      ("\\.H$"   (".C"  ".CC"))      ("\\.H\\'"   (".C"  ".CC"))
250    
251      ("\\.CC$"  (".HH" ".H"  ".hh" ".h"))      ("\\.CC\\'"  (".HH" ".H"  ".hh" ".h"))
252      ("\\.HH$"  (".CC"))      ("\\.HH\\'"  (".CC"))
253    
254      ("\\.cxx$" (".hh" ".h"))      ("\\.c\\+\\+\\'" (".h++" ".hh" ".h"))
255      ("\\.cpp$" (".hh" ".h"))      ("\\.h\\+\\+\\'" (".c++"))
256      )  
257        ("\\.cpp\\'" (".hpp" ".hh" ".h"))
258        ("\\.hpp\\'" (".cpp"))
259    
260        ("\\.cxx\\'" (".hxx" ".hh" ".h"))
261        ("\\.hxx\\'" (".cxx")))
262    "*Alist of extensions to find given the current file's extension.    "*Alist of extensions to find given the current file's extension.
263    
264  This list should contain the most used extensions before the others,  This list should contain the most used extensions before the others,

Legend:
Removed from v.1.18.2.2  
changed lines
  Added in v.1.18.2.3

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