[PATCH] Make semanticdb-default-find-index-class buffer-local

Joris Steyn <[email protected]> Fri, 16 Jan 2015 20:03:08 +0100
Newsgroups gmane.emacs.cedet
Message-ID <CAAwT9LNxRj6C7Gi-FKZh-6P5_ffxGPO6=gTN1AN3d4_1j2NgHA@mail.gmail.com>
Hi cedet-devel,

attached is a patch fixing a typo in semanticdb that caused
semanticdb-default-find-index-class to not be declared buffer-local.

I don't believe anyone or any package is actually setting this variable but
we ought to fix this regardless.

-- 
Joris.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet

_______________________________________________
Cedet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cedet-devel
0001-Make-default-find-index-class-variable-buffer-local.patch (text/x-patch, 911 B)
From da7958c0657d06034d8449241e8a51eddeb1d5e0 Mon Sep 17 00:00:00 2001
From: Joris Steyn <[email protected]>
Date: Fri, 16 Jan 2015 19:16:53 +0100
Subject: [PATCH] Make default-find-index-class variable buffer-local

---
 lisp/cedet/semantic/db.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/cedet/semantic/db.el b/lisp/cedet/semantic/db.el
index 6c9d67e..8529377 100644
--- a/lisp/cedet/semantic/db.el
+++ b/lisp/cedet/semantic/db.el
@@ -60,7 +60,7 @@ mechanism.")
 (defvar semanticdb-default-find-index-class 'semanticdb-find-search-index
   "The default type of search index to use for a `semanticdb-table's.
 This can be changed to try out new types of search indices.")
-(make-variable-buffer-local 'semanticdb-default-find=index-class)
+(make-variable-buffer-local 'semanticdb-default-find-index-class)
 
 ;;;###autoload
 (defvar semanticdb-current-database nil
-- 
2.2.1