diff options
| -rw-r--r-- | jakob.org | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -68,29 +68,6 @@ massacre is not made of my =init.el=. (load custom-file)) #+END_SRC -** Hooks - -Favor composed characters as opposed to Unicode's "WITH CARON" equivalents, -because they look awful in Terminus. - -#+BEGIN_SRC elisp -(add-to-list 'before-save-hook - (let ((replacements '(((char-to-string 462) . "ǎ") - ((char-to-string 466) . "ǒ") - ((char-to-string 464) . "ǐ") - ((char-to-string 8217) . "'") - ((char-to-string 8220) . "\"") - ((char-to-string 8221) . "\""))) - actions) - (dolist (replacement replacements) - (let* ((from (car replacement)) - (to (cdr replacement)) - (expr `(replace-string ,from ,to nil 0 (buffer-size)))) - (push expr actions))) - `(lambda () (save-excursion - ,@actions)))) -#+END_SRC - ** Packages For package archives, I currently use [[http://melpa.org/][MELPA]] and [[https://orgmode.org/elpa.html][Org's elpa]], the latter of which |