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

List:       kde-commits
Subject:    Re: KDE/kdesdk/scripts/kde-emacs
From:       David Faure <faure () kde ! org>
Date:       2006-10-05 8:05:22
Message-ID: 200610051005.24296.faure () kde ! org
[Download RAW message or body]

On Thursday 05 October 2006 09:05, Jesper Pedersen wrote:
> SVN commit 592616 by blackie:
> 
> out there in the real world, someone even uses .cxx as extension to cpp files. Now \
> switch-to-function-def works for those files too. 
> M  +2 -1      kde-emacs-utils.el  
> 
> 
> --- trunk/KDE/kdesdk/scripts/kde-emacs/kde-emacs-utils.el #592615:592616
> @@ -207,7 +207,8 @@
> 	)
> (if (or (string-match "\\.cc$" n)
> (string-match "\\.cpp$" n)
> -            (string-match "\\.C$" n))
> +            (string-match "\\.C$" n)
> +            (string-match "\\.cxx$" n))
> ; TODO replace fume-function-before-point, needed for emacs,
> ; and for better namespace support.
> 	;(progn

This should be (if (member ext kde-source-files) ... ) instead, to cover all cases \
and avoid duplication of that extension list.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


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

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