Thank you Tomasz, I committed a fix for this

On Sat, Dec 29, 2012 at 1:28 AM, Tomasz Gajewski <> wrote:

Hi all.

I've been trying to use script to index some source files
but I always received:

  Cannot unload builtin CEDET since it is already loaded.

I've found out that:

  (require 'semantic/db)

in 'lisp/cedet/semantic/db-mk.el' causes loading of cedet and later
check in function 'cedet-remove-builtin' doesn't pass.

This trivial patch solved the issue for me although I'm not sure if it
is ok as some time ago this 'require' was added to silence some compiler

I'm sending this in case someone else will have the same problem.

Tomasz Gajewski

=== modified file 'lisp/cedet/semantic/db-mk.el'
--- lisp/cedet/semantic/db-mk.el        2012-11-14 20:47:28 +0000
+++ lisp/cedet/semantic/db-mk.el        2012-12-28 23:30:28 +0000
@@ -30,8 +30,6 @@

 ;;; Code
-(require 'semantic/db)
 (if (not noninteractive)
     (error "You should not load semanticdb-mk interactively."))

Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
Cedet-devel mailing list

With best wishes,                    Alex Ott
Twitter: alexott_en (English), alexott (Russian)