]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
adjust if clauses for emacs-version 24 to 24 onwards.
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Sun, 5 Apr 2015 11:20:42 +0000 (13:20 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Sun, 5 Apr 2015 11:20:42 +0000 (13:20 +0200)
Signed-off-by: Andreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
bba.org

diff --git a/bba.org b/bba.org
index a006fbd320ae26acda692274a52d7c47ea5b563a..1b3c43e752bf556927ea188567e557ec0e5c77e5 100644 (file)
--- 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)