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,15 +19,19 @@ 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")
(when (file-exists-p machine-custom) (load machine-custom))
#+END_SRC
* Custom emacs-lisp
#+BEGIN_SRC emacs-lisp
(defun emacs24_4-p ()
(or (and (>= emacs-major-version 24)
(>= emacs-minor-version 4))
(>= emacs-major-version 25)))
#+END_SRC
* Packages
* Keybindings
* TODO Make the stuff under this heading literate
#+BEGIN_SRC emacs-lisp
(defun emacs24_4-p ()
(or (and (>= emacs-major-version 24)
(>= emacs-minor-version 4))
(>= emacs-major-version 25)))
(when (equal system-type 'darwin)
(setq mac-option-modifier 'meta)
(setq mac-command-modifier 'super))