From 357077d775967d3ff467deacd519a4714ed379c9 Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Fri, 9 Sep 2011 11:13:46 +0200 Subject: [PATCH] Remove unuseful version checking everywhere. * anything-complete.el version checking removed * anything-match-plugin.el idem --- anything-match-plugin.el | 10 ---------- extensions/anything-complete.el | 11 ----------- 2 files changed, 21 deletions(-) diff --git a/anything-match-plugin.el b/anything-match-plugin.el index 41faf88..173da27 100644 --- a/anything-match-plugin.el +++ b/anything-match-plugin.el @@ -154,16 +154,6 @@ (require 'anything) (require 'cl) -(let ((version "1.283")) - (when (and (string= "1." (substring version 0 2)) - (string-match "1\.\\([0-9]+\\)" anything-version) - (< (string-to-number (match-string 1 anything-version)) - (string-to-number (substring version 2)))) - (error "Please update anything.el!! - -http://www.emacswiki.org/cgi-bin/wiki/download/anything.el - -or M-x install-elisp-from-emacswiki anything.el"))) (defcustom anything-grep-candidates-fast-directory-regexp nil "*Directory regexp where a RAM disk (or tmpfs) is mounted. diff --git a/extensions/anything-complete.el b/extensions/anything-complete.el index 846ce8b..d80cb08 100644 --- a/extensions/anything-complete.el +++ b/extensions/anything-complete.el @@ -118,17 +118,6 @@ (require 'thingatpt) (require 'anything-obsolete) -;; version check -(let ((version "1.263")) - (when (and (string= "1." (substring version 0 2)) - (string-match "1\.\\([0-9]+\\)" anything-version) - (< (string-to-number (match-string 1 anything-version)) - (string-to-number (substring version 2)))) - (error "Please update anything.el!! - -http://www.emacswiki.org/cgi-bin/wiki/download/anything.el - -or M-x install-elisp-from-emacswiki anything.el"))) ;; (@* "overlay") (when (require 'anything-show-completion nil t) -- 2.11.4.GIT