From fb048d192601f31c733274520a9b46c4cf18d050 Mon Sep 17 00:00:00 2001 From: zappo Date: Sun, 18 Oct 2009 16:15:59 +0000 Subject: [PATCH] (semantic-c): Hack for Emacs 21 to get things running. --- test/manual/cedet/cit-load.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/manual/cedet/cit-load.el b/test/manual/cedet/cit-load.el index 51695d41f0e..8585271a7ca 100644 --- a/test/manual/cedet/cit-load.el +++ b/test/manual/cedet/cit-load.el @@ -3,7 +3,7 @@ ;; Copyright (C) 2008, 2009 Eric M. Ludlam ;; Author: Eric M. Ludlam -;; X-RCS: $Id: cit-load.el,v 1.4 2009-03-14 15:17:28 zappo Exp $ +;; X-RCS: $Id: cit-load.el,v 1.5 2009-10-18 16:15:59 zappo Exp $ ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as @@ -38,6 +38,10 @@ (setq inhibit-splash-screen t) +;; Fix bug in Emacs 21 +(when (< emacs-major-version 22) + (require 'semantic-c)) + ;; Disables all caches related to semantic DB so all ;; tests run as if we have bootstrapped CEDET for the ;; first time. -- 2.39.2