From 23e53aedea90192c4ba06785bc77ba6a07d7f393 Mon Sep 17 00:00:00 2001 From: Thierry Volpiatto Date: Fri, 9 Sep 2011 10:30:22 +0200 Subject: [PATCH] * anything.el Fix version number remove unused code. --- anything.el | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/anything.el b/anything.el index b7a72b0..62ae856 100644 --- a/anything.el +++ b/anything.el @@ -598,7 +598,7 @@ ;;; Code: (defvar anything-version nil) -(setq anything-version "2.0") +(setq anything-version "1.3") (require 'cl) @@ -1362,20 +1362,6 @@ LONG-DOC is displayed below attribute name and short documentation." (concat "- " (symbol-name attribute) " " short-doc "\n\n" long-doc "\n"))) -(defun anything-require-at-least-version (version) - "Output error message unless anything.el is older than VERSION. -This is suitable for anything applications." - (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!! - -M-x auto-install-batch anything - -You must have auto-install.el too. -http://www.emacswiki.org/cgi-bin/wiki/download/auto-install.el -"))) (defun anything-interpret-value (value &optional source) "Interpret VALUE as variable, function or literal. -- 2.11.4.GIT