Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove dependency on assoc package

  • Loading branch information...
commit adfaf6820f09f829462ec5176edbe29c275d02c2 1 parent 4f4f7aa
@alexott alexott authored
View
4 ecb-common-browser.el
@@ -46,10 +46,6 @@
(require 'ecb-mode-line)
(require 'ecb-navigate)
-;; various loads
-(if (or (not (fboundp 'version<)) (version< emacs-version "24.3"))
- (require 'assoc))
-
(eval-when-compile
;; to avoid compiler grips
(require 'cl))
View
4 ecb-file-browser.el
@@ -39,10 +39,6 @@
(require 'ecb-layout)
(require 'ecb-common-browser)
-;; various loads
-(if (or (not (fboundp 'version<)) (version< emacs-version "24.3"))
- (require 'assoc))
-
(eval-when-compile
;; to avoid compiler grips
(require 'cl))
View
8 ecb-method-browser.el
@@ -46,10 +46,6 @@
;; This loads the semantic-setups for the major-modes.
;; (require 'semantic-load)
-;; various loads
-(if (or (not (fboundp 'version<)) (version< emacs-version "24.3"))
- (require 'assoc))
-
(eval-when-compile
;; to avoid compiler grips
(require 'cl))
@@ -3089,15 +3085,13 @@ the current tag-tree for this source. The cache contains exactly one element
for a certain source.")
(setq ecb-tag-tree-cache nil)
-(require 'assoc)
-
(defun ecb-clear-tag-tree-cache (&optional source-name)
"Clears either the whole tag-tree-cache \(SOURCE-NAME is nil) or
removes only the tag-tree for SOURCE-NAME from the cache."
(if (not source-name)
(setq ecb-tag-tree-cache nil)
(setq ecb-tag-tree-cache
- (adelete 'ecb-tag-tree-cache source-name))))
+ (delq (assoc source-name ecb-tag-tree-cache) ecb-tag-tree-cache))))
(defvar ecb-current-post-processed-tag-table nil
"This is the current tag-table of the current source-buffer returned by
View
4 ecb.el
@@ -196,10 +196,6 @@
(require 'ecb-analyse)
(require 'ecb-symboldef)
-;; various loads
-(if (or (not (fboundp 'version<)) (version< emacs-version "24.3"))
- (require 'assoc))
-
(eval-when-compile
;; to avoid compiler grips
(require 'cl))
Please sign in to comment.
Something went wrong with that request. Please try again.