forked from colonelpanic/dotfiles
		
	Add custom emacs-lisp section
This commit is contained in:
		| @@ -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") |   (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 | ||||||
|  |  | ||||||
|  | #+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 | * TODO Make the stuff under this heading literate | ||||||
| #+BEGIN_SRC emacs-lisp | #+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) | (when (equal system-type 'darwin) | ||||||
|   (setq mac-option-modifier 'meta) |   (setq mac-option-modifier 'meta) | ||||||
|   (setq mac-command-modifier 'super)) |   (setq mac-command-modifier 'super)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user