]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
emacs 23.1.1 yasnippets make_emacsconfig
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 18 Aug 2015 09:12:21 +0000 (11:12 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Tue, 18 Aug 2015 09:12:21 +0000 (11:12 +0200)
- enabled yasnippets for Emacs 23.1.1
- fixed make_emacsconfig.sh

bba.org
make_emacsconfig.sh [changed mode: 0644->0755]

diff --git a/bba.org b/bba.org
index df6cd2747333c55e1b30474e56cb6203759cfcdc..610c463467ff12e2ddf6df891bb507746aa3077b 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -161,6 +161,7 @@ Keep track of your important stuff!
           (add-to-list 'package-archives '("marmalade" . "http://marmalade-repo.org/packages/"))
           )
       (progn
+        (add-to-list 'load-path "~/.emacs.d/elpa/cl-lib-0.5")
         (add-to-list 'load-path "~/.emacs.d/elpa/magit-1.2.0")
         (add-to-list 'load-path "~/.emacs.d/elpa/yaml-mode-20141125.37")
         (require 'yaml-mode)
@@ -312,16 +313,12 @@ cannot live without it. I write most of my [[http://www.cfengine.com][CFEngine]]
 snippets. Some help for Perl and even for org-mode.
 
 #+BEGIN_SRC emacs-lisp
-    (if (>= emacs-major-version 24)
-        (progn
           (add-to-list 'load-path
                        "~/.emacs.d/elpa/yasnippet-20150415.244")
           (require 'yasnippet)
           (setq yas-snippet-dirs '("~/.emacs.d/snippets"))
           (yas-global-mode 1)
           (define-key global-map "\C-cy" 'yas/insert-snippet)
-          )
-      )
 #+END_SRC
 * [[https://github.com/flycheck/flycheck][flycheck]]
 
old mode 100644 (file)
new mode 100755 (executable)
index e7b6b00..c86a366
@@ -17,23 +17,14 @@ if .emacs and .emacs.d exists fetch git.bundesbrandschatzamt.de emacs config.
 if [ ! -e ${HOME}/.emacs.d ]; then
     git clone http://git.bundesbrandschatzamt.de/emacsconfig.git ${HOME}/.emacs.d
     cat >${HOME}/.emacs <<EOF
-;; This sets up the load path so that we can override it
-;; (package-initialize)
 ;; Override the packages with the git version of Org and other packages
 
-  (setq load-path
-  (append
-  (list (expand-file-name "~/.emacs.d/"))
-  ;;           (expand-file-name "/usr/share/emacs/lisp/")
-  load-path))
+(setq load-path
+(append
+(list (expand-file-name "~/.emacs.d/lisp") (expand-file-name "~/.emacs.d/elpa/org-20150629"))
+load-path))
 
-
-(add-to-list 'load-path "~/.emacs.d/xemacs-packages/lisp/org-8.2.3c")
-
-;; (add-to-list 'load-path "~/elisp/org-mode/contrib/lisp")
-;; Load the rest of the packages
-;; (package-initialize t)
-;; (setq package-enable-at-startup nil)
+(setq org-use-extra-keys t)
 (require 'org)
 (require 'ob-tangle)
 (org-babel-load-file (expand-file-name "~/.emacs.d/bba.org"))