Add custom emacs-lisp section
This commit is contained in:
parent
08083b5bb2
commit
6f3ed7be93
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user