Add custom emacs-lisp section

This commit is contained in:
Ivan Malison 2016-06-06 15:55:11 -07:00
parent 08083b5bb2
commit 6f3ed7be93

View File

@ -19,14 +19,18 @@ custom-before.el is loaded before the rest of init.el, while custom-after.el is
(defvar custom-after-file "~/.emacs.d/custom-after.el") (defvar custom-after-file "~/.emacs.d/custom-after.el")
(when (file-exists-p machine-custom) (load machine-custom)) (when (file-exists-p machine-custom) (load machine-custom))
#+END_SRC #+END_SRC
* Custom emacs-lisp
* TODO Make the stuff under this heading literate
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defun emacs24_4-p () (defun emacs24_4-p ()
(or (and (>= emacs-major-version 24) (or (and (>= emacs-major-version 24)
(>= emacs-minor-version 4)) (>= emacs-minor-version 4))
(>= emacs-major-version 25))) (>= emacs-major-version 25)))
#+END_SRC
* Packages
* Keybindings
* TODO Make the stuff under this heading literate
#+BEGIN_SRC emacs-lisp
(when (equal system-type 'darwin) (when (equal system-type 'darwin)
(setq mac-option-modifier 'meta) (setq mac-option-modifier 'meta)