summaryrefslogtreecommitdiff
path: root/jakob.org
diff options
context:
space:
mode:
authorJakob L. Kreuze2019-01-20 12:38:39 -0500
committerJakob L. Kreuze2019-01-20 12:38:39 -0500
commitb7ce859f032fd426a7f79f70eaad8141a3cb6503 (patch)
tree83aeacf87937035b4329fc909f898d33d70a9b9d /jakob.org
parent89ee77e7d67a22534262e913eb91583aeb1552fc (diff)
Remove my 'before-save-hook, as I'm no longer working with Pinyin in Emacs
Diffstat (limited to 'jakob.org')
-rw-r--r--jakob.org23
1 files changed, 0 insertions, 23 deletions
diff --git a/jakob.org b/jakob.org
index 71e6a36..64c1c3b 100644
--- a/jakob.org
+++ b/jakob.org
@@ -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

© 2015 - 2026 Jakob L. Kreuze