* Providing all init files, loading them with require
* Moved load-file-if-exists to init-functions
* Added init-misc.el for random things that don't fit anywhere else
* Never any tabs, ever. Go away!
Bindings:
* quit Emacs -> C-x r q ("real quit")
* delete-frame -> C-x C-c
* make-frame -> C-x C-n
This commit is contained in:
parent
43a99dea3a
commit
503600091e
7 changed files with 43 additions and 11 deletions
|
|
@ -43,6 +43,10 @@
|
|||
(unless (file-exists-p fullpath)
|
||||
(async-shell-command (concat "git clone " url " " fullpath)))))
|
||||
|
||||
(defun load-file-if-exists (filename)
|
||||
(if (file-exists-p filename)
|
||||
(load filename)))
|
||||
|
||||
;; These come from magnars, he's got some awesome things.
|
||||
|
||||
(defun goto-line-with-feedback ()
|
||||
|
|
@ -127,3 +131,5 @@ Including indent-buffer, which should not be called automatically on save."
|
|||
(defun speak (m &optional voice)
|
||||
(shell-command (if 'voice (concat "say -v " voice " \"" m "\"")
|
||||
(concat "say " m))))
|
||||
|
||||
(provide 'init-functions)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue