aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-11-05 19:54:45 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-11-05 19:54:45 +0000
commitc59c5f86d2e0441a23f4cdb72ced8a79c8ab675f (patch)
tree54d21428233f2f3d01e63a55395d09394766911d
parentef0846dbd6141ad032fb4db44fabf9903e11231f (diff)
downloaddotfiles-c59c5f86d2e0441a23f4cdb72ced8a79c8ab675f.tar.gz
dotfiles-c59c5f86d2e0441a23f4cdb72ced8a79c8ab675f.zip
Fix font and add hook
-rw-r--r--X/.Xresources10
-rw-r--r--emacs/loader.org6
2 files changed, 11 insertions, 5 deletions
diff --git a/X/.Xresources b/X/.Xresources
index e69dc0a..8ec1ad1 100644
--- a/X/.Xresources
+++ b/X/.Xresources
@@ -165,11 +165,11 @@ URxvt*cursorColor: #cc99cc
! Select the fonts to be used. This is a comma separated list of font
! names that are checked in order when trying to find glyphs for
! characters
-*font: xft:Hack:style=Regular:pixelsize=16, \
- xft:Unifont:size=8:anialias=false, \
- xft:Wuncon Siji:style=Regular:pixelsize=10, \
- xft:Font Awesome 5 Free:style=Regular:pixelsize=14, \
- xft:Font Awesome 5 Brands:style=Regular:pixelsize=14
+URxvt*font: xft:Hack:style=Regular:pixelsize=16, \
+ xft:Unifont:size=8:anialias=false, \
+ xft:Wuncon Siji:style=Regular:pixelsize=10, \
+ xft:Font Awesome 5 Free:style=Regular:pixelsize=14, \
+ xft:Font Awesome 5 Brands:style=Regular:pixelsize=14
! When font styles are not enabled, or this option is enabled (True
! default), bold/blink font styles imply high intensity
diff --git a/emacs/loader.org b/emacs/loader.org
index 3ebee5e..df9d4b7 100644
--- a/emacs/loader.org
+++ b/emacs/loader.org
@@ -638,6 +638,12 @@ incrementally selecting more and more of the text.
#+END_SRC
* Writing
+
+#+BEGIN_SRC emacs-lisp
+ (add-hook 'text-mode-hook (lambda ()
+ (auto-fill-mode 1)))
+#+END_SRC
+
** Spellcheck in emacs
#+BEGIN_SRC emacs-lisp
(defun spell-buffer-german ()