From: Andreas Gerler Date: Sun, 5 Apr 2015 11:20:42 +0000 (+0200) Subject: adjust if clauses for emacs-version 24 to 24 onwards. X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=a44a26559f8893963831a452c1c8f33a8bbf22f2;p=emacsconfig.git adjust if clauses for emacs-version 24 to 24 onwards. Signed-off-by: Andreas Gerler --- diff --git a/bba.org b/bba.org index a006fbd3..1b3c43e7 100644 --- a/bba.org +++ b/bba.org @@ -93,7 +93,7 @@ If you are in need enable debugging: *** [[http://www.emacswiki.org/emacs/ELPA][ELPA]] #+BEGIN_SRC emacs-lisp - (if (= emacs-major-version 24) + (if (>= emacs-major-version 24) (progn (add-to-list 'load-path "~/.emacs.d/elpa") (add-to-list 'load-path "~/.emacs.d/elpa/popup-20140207.1702") @@ -123,7 +123,7 @@ Enable smart parens in all modes. See [[https://github.com/toctan/smartparens][Smartparens on github]]. #+BEGIN_SRC emacs-lisp - (if (= emacs-major-version 24) + (if (>= emacs-major-version 24) (progn (add-to-list 'load-path "~/.emacs.d/elpa/smartparens-20140819.203") (add-to-list 'load-path "~/.emacs.d/elpa/dash-20140811.523") @@ -135,7 +135,7 @@ See [[https://github.com/toctan/smartparens][Smartparens on github]]. [2015-04-02 Thu 10:32] #+BEGIN_SRC emacs-lisp - (if (= emacs-major-version 24) + (if (>= emacs-major-version 24) (progn (add-to-list 'load-path "~/.emacs.d/elpa/expand-region-20141223.1328") (require 'expand-region) @@ -156,7 +156,7 @@ See [[https://github.com/toctan/smartparens][Smartparens on github]]. *** [[https://github.com/flycheck/flycheck][flycheck]] #+BEGIN_SRC emacs-lisp - (if (= emacs-major-version 24) + (if (>= emacs-major-version 24) (progn (add-to-list 'load-path "~/.emacs.d/elpa/flycheck-20150125.601") (require 'flycheck) @@ -660,7 +660,7 @@ taken from http://doc.norang.ca/org-mode.org - (if (= emacs-major-version 24) + (if (>= emacs-major-version 24) (progn (add-hook 'org-mode-hook (lambda () @@ -876,7 +876,7 @@ from environment variable http_proxy *** elfeed #+BEGIN_SRC emacs-lisp - (if (= emacs-major-version 24) + (if (>= emacs-major-version 24) (progn (add-to-list 'load-path "~/.emacs.d/elpa/elfeed-20150101.1457") (add-to-list 'load-path "~/.emacs.d/elpa/elfeed-org-20150108.1406") @@ -1272,7 +1272,7 @@ combine key strokes to access commands even faster. (key-chord-define-global "uu" 'undo) (key-chord-define-global "xb" 'ido-switch-buffer) (key-chord-define-global "xf" 'ido-find-file) - (if (= emacs-major-version 24) + (if (>= emacs-major-version 24) (progn (key-chord-define-global "==" 'er/expand-region) (key-chord-define-global "--" 'er/contract-region)