emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/find-file.el [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/find-file.el [emacs-unicode-2]
Date: Wed, 27 Oct 2004 01:48:56 -0400

Index: emacs/lisp/find-file.el
diff -c emacs/lisp/find-file.el:1.23.4.1 emacs/lisp/find-file.el:1.23.4.2
*** emacs/lisp/find-file.el:1.23.4.1    Fri Apr 16 12:49:50 2004
--- emacs/lisp/find-file.el     Wed Oct 27 05:42:00 2004
***************
*** 57,63 ****
  ;; format above can be changed to include a function to be called when the
  ;; current file matches the regexp:
  ;;
! ;;   '(("\\.cc$"  cc-function)
  ;;     ("\\.hh$"  hh-function))
  ;;
  ;; These functions must return a list consisting of the possible names of the
--- 57,63 ----
  ;; format above can be changed to include a function to be called when the
  ;; current file matches the regexp:
  ;;
! ;;   '(("\\.cc$"  cc--function)
  ;;     ("\\.hh$"  hh-function))
  ;;
  ;; These functions must return a list consisting of the possible names of the
***************
*** 239,260 ****
    :group 'ff)
  
  (defcustom cc-other-file-alist
!   '(
!     ("\\.cc$"  (".hh" ".h"))
!     ("\\.hh$"  (".cc" ".C"))
  
!     ("\\.c$"   (".h"))
!     ("\\.h$"   (".c" ".cc" ".C" ".CC" ".cxx" ".cpp"))
  
!     ("\\.C$"   (".H"  ".hh" ".h"))
!     ("\\.H$"   (".C"  ".CC"))
  
!     ("\\.CC$"  (".HH" ".H"  ".hh" ".h"))
!     ("\\.HH$"  (".CC"))
  
!     ("\\.cxx$" (".hh" ".h"))
!     ("\\.cpp$" (".hh" ".h"))
!     )
    "*Alist of extensions to find given the current file's extension.
  
  This list should contain the most used extensions before the others,
--- 239,264 ----
    :group 'ff)
  
  (defcustom cc-other-file-alist
!   '(("\\.cc\\'"  (".hh" ".h"))
!     ("\\.hh\\'"  (".cc" ".C"))
  
!     ("\\.c\\'"   (".h"))
!     ("\\.h\\'"   (".c" ".cc" ".C" ".CC" ".cxx" ".cpp"))
  
!     ("\\.C\\'"   (".H"  ".hh" ".h"))
!     ("\\.H\\'"   (".C"  ".CC"))
  
!     ("\\.CC\\'"  (".HH" ".H"  ".hh" ".h"))
!     ("\\.HH\\'"  (".CC"))
  
!     ("\\.c\\+\\+\\'" (".h++" ".hh" ".h"))
!     ("\\.h\\+\\+\\'" (".c++"))
! 
!     ("\\.cpp\\'" (".hpp" ".hh" ".h"))
!     ("\\.hpp\\'" (".cpp"))
! 
!     ("\\.cxx\\'" (".hxx" ".hh" ".h"))
!     ("\\.hxx\\'" (".cxx")))
    "*Alist of extensions to find given the current file's extension.
  
  This list should contain the most used extensions before the others,




reply via email to

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