[Emacs] Disable yasnippet in org-mode

This commit is contained in:
Ivan Malison 2016-12-29 20:36:02 -08:00
parent 2da9235782
commit 7244f2b782
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -3311,6 +3311,16 @@ separately. This means that I need to load this file in init.el.
(progn (progn
(setcdr (assoc 'file org-link-frame-setup) 'find-file-other-frame))))) (setcdr (assoc 'file org-link-frame-setup) 'find-file-other-frame)))))
#+END_SRC #+END_SRC
**** Disable yasnippet in org-mode
#+BEGIN_SRC emacs-lisp
(use-package org
:ensure nil
:config
(progn
(defun imalison:disable-yas ()
(yas-minor-mode -1))
(add-hook 'org-mode-hook 'imalison:disable-yas)))
#+END_SRC
**** Set Background Color of Source Blocks for Export **** Set Background Color of Source Blocks for Export
This was taken from [[http://emacs.stackexchange.com/questions/3374/set-the-background-of-org-exported-code-blocks-according-to-theme][here]]. This was taken from [[http://emacs.stackexchange.com/questions/3374/set-the-background-of-org-exported-code-blocks-according-to-theme][here]].
#+BEGIN_SRC emacs-lisp :tangle org-config.el #+BEGIN_SRC emacs-lisp :tangle org-config.el