summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org19
1 files changed, 19 insertions, 0 deletions
diff --git a/config.org b/config.org index 5b7ebf9..1c3e2e9 100644 --- a/config.org +++ b/config.org
@@ -1124,6 +1124,25 @@ to auto-fill in programming modes, but /only/ the comments.
1124 (blackout 'aggressive-indent-mode) 1124 (blackout 'aggressive-indent-mode)
1125#+end_src 1125#+end_src
1126 1126
1127** Typesetting
1128
1129*** Prettify-mode
1130
1131I like my pretty =lambda='s -- and maybe one day, I'll add more symbols,
1132but only in prog-mode. I want to see what I'm actually typing in
1133text.
1134
1135#+begin_src emacs-lisp :noweb-ref hooks
1136 (add-hook 'prog-mode-hook #'prettify-symbols-mode)
1137#+end_src
1138
1139Of course, I want to be able to /see/ the actual text in the buffer if
1140I'm /in/ the symbols.
1141
1142#+begin_src emacs-lisp :noweb-ref settings
1143 (setq-default prettify-symbols-unprettify-at-point 'right-edge)
1144#+end_src
1145
1127** Executable scripts 1146** Executable scripts
1128 1147
1129This poorly-named function will make a file executable if it looks 1148This poorly-named function will make a file executable if it looks