]> git.eshelyaron.com Git - emacs.git/commitdiff
(grep-files-aliases): Improve the C++ source
authorDan Nicolaescu <dann@ics.uci.edu>
Fri, 11 Jul 2008 02:44:10 +0000 (02:44 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Fri, 11 Jul 2008 02:44:10 +0000 (02:44 +0000)
pattern and add patterns for C++ header files.

lisp/ChangeLog
lisp/progmodes/grep.el

index 162346dd684869a274415e0b88d34c209b217340..56bfdb3415cf4f785eed21f8b5c3372211958711 100644 (file)
@@ -1,3 +1,8 @@
+2008-07-11  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * progmodes/grep.el (grep-files-aliases): Improve the C++ source
+       pattern and add patterns for C++ header files.
+
 2008-07-10  Chong Yidong  <cyd@stupidchicken.com>
 
        * window.el (truncated-partial-width-window-p): New function.
index b76ed012c0fbcaeace00ae24df9c5649d0027096..3d9a7db57af205e150da32a2fe377f1555b2fad5 100644 (file)
@@ -144,7 +144,9 @@ The following place holders should be present in the string:
 (defcustom grep-files-aliases
   '(("asm" .    "*.[sS]")
     ("c" .     "*.c")
-    ("cc" .    "*.cc")
+    ("cc" .    "*.cc *.cxx *.cpp *.C *.CC *.c++")
+    ("cchh" .    "*.cc *.[ch]xx *.[ch]pp *.[CHh] *.CC *.HH *.[ch]++")
+    ("hh" .    "*.hxx *.hpp *.[Hh] *.HH *.h++")
     ("ch" .    "*.[ch]")
     ("el" .    "*.el")
     ("h" .     "*.h")