]> code.delx.au - gnu-emacs-elpa/blobdiff - company-semantic.el
Backport defvar-local from Emacs 24.2
[gnu-emacs-elpa] / company-semantic.el
index 110d4fd8946adf0bb26994609bc0fca324067700..6c020a30f70ba4eaed2730b0d1c1ea4549ca716e 100644 (file)
@@ -49,9 +49,8 @@
 
 (defvar company-semantic-modes '(c-mode c++-mode jde-mode java-mode))
 
-(defvar company-semantic--current-tags nil
+(defvar-local company-semantic--current-tags nil
   "Tags for the current context.")
-(make-variable-buffer-local 'company-semantic--current-tags)
 
 (defun company-semantic-documentation-for-tag (tag)
   (when (semantic-tag-buffer tag)