[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdesdk/scripts/kde-emacs
From:       David Faure <faure () kde ! org>
Date:       2006-10-31 10:35:22
Message-ID: 1162290922.739502.16717.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 600644 by dfaure:

Don't hardcode a list of extensions, use the nice variable for it. This fixes it for *.c too.


 M  +1 -4      kde-emacs-utils.el  


--- trunk/KDE/kdesdk/scripts/kde-emacs/kde-emacs-utils.el #600643:600644
@@ -205,10 +205,7 @@
         (function "")
         found
 	)
-    (if (or (string-match "\\.cc$" n)
-            (string-match "\\.cpp$" n)
-            (string-match "\\.C$" n)
-            (string-match "\\.cxx$" n))
+    (if (member ext kde-source-files)
         ; TODO replace fume-function-before-point, needed for emacs,
         ; and for better namespace support.
 	;(progn
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic