Commits

Greg Newman committed 99c410f

fixing yasnippet for org-mode

  • Participants
  • Parent commits e0fc3ea

Comments (0)

Files changed (3)

 *.pyc
 config-*el
 config-*html
-src/auctex
+src/auctex
+src/yasnippet

File config-org.org

 The latest version of yasnippets doesn't play well with Org-mode, the
 following function allows these two to play nicely together
 #+begin_src emacs-lisp
+  (require 'yasnippet)
   (defun yas/org-very-safe-expand ()
     (let ((yas/fallback-behavior 'return-nil)) (yas/expand)))
 #+end_src
 (add-to-list 'load-path "/usr/local/share/emacs/site-lisp")
 (add-to-list 'load-path dotfiles-dir)
 (add-to-list 'load-path (concat dotfiles-dir "/src"))
+(add-to-list 'load-path (concat dotfiles-dir "/src/yasnippet"))
 (add-to-list 'load-path (concat dotfiles-dir "/src/auctex"))
 (add-to-list 'load-path (concat dotfiles-dir "/src/auctex/preview"))
 (add-to-list 'load-path (concat dotfiles-dir "/src/org-mode/lisp"))