emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] scratch/merge-cedet-tests fb048d1 006/316: (semantic-c): H


From: Edward John Steere
Subject: [Emacs-diffs] scratch/merge-cedet-tests fb048d1 006/316: (semantic-c): Hack for Emacs 21 to get things running.
Date: Sat, 28 Jan 2017 09:09:41 +0000 (UTC)

branch: scratch/merge-cedet-tests
commit fb048d192601f31c733274520a9b46c4cf18d050
Author: zappo <address@hidden>
Commit: Edward John Steere <address@hidden>

    (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 51695d4..8585271 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 <address@hidden>
-;; 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]