about summary refs log tree commit diff
path: root/modules/workstation/emacs/init.el
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-10-24 11:18:49 +0000
committerAlyssa Ross <hi@alyssa.is>2022-02-21 20:27:44 +0000
commit54fea025d209d2d17bc9bad60173e459a7e653ee (patch)
treea3cee799f765c6241cda89c3127a3a1d58be6fac /modules/workstation/emacs/init.el
parent5fab4419451ede18055d81429923b300da0cca69 (diff)
downloadnixlib-54fea025d209d2d17bc9bad60173e459a7e653ee.tar
nixlib-54fea025d209d2d17bc9bad60173e459a7e653ee.tar.gz
nixlib-54fea025d209d2d17bc9bad60173e459a7e653ee.tar.bz2
nixlib-54fea025d209d2d17bc9bad60173e459a7e653ee.tar.lz
nixlib-54fea025d209d2d17bc9bad60173e459a7e653ee.tar.xz
nixlib-54fea025d209d2d17bc9bad60173e459a7e653ee.tar.zst
nixlib-54fea025d209d2d17bc9bad60173e459a7e653ee.zip
modules/emacs: fix location of markdown stuff
This was previously in the middle of the Magit config.
Diffstat (limited to 'modules/workstation/emacs/init.el')
-rw-r--r--modules/workstation/emacs/init.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/workstation/emacs/init.el b/modules/workstation/emacs/init.el
index f09c165bb417..2028513ad6a6 100644
--- a/modules/workstation/emacs/init.el
+++ b/modules/workstation/emacs/init.el
@@ -143,9 +143,6 @@
 (global-set-key (kbd "C-x g") #'magit-status)
 (global-set-key (kbd "C-x M-g") #'magit-dispatch)
 
-;;; Markdown ;;;
-(setq-default markdown-hide-markup t)
-
 ;; Don't open a second window with a diff when committing.  I have
 ;; commit.verbose set in git, so the diff is shown below the commit
 ;; anyway, and it's annoying to have magit take over the whole frame
@@ -170,6 +167,9 @@
     (transient-append-suffix command ["-S"]
       '("=S" "Don't sign using gpg" "--no-gpg-sign"))))
 
+;;; Markdown ;;;
+(setq-default markdown-hide-markup t)
+
 ;;; Man ;;;
 ;; Open man pages in the current window.  I don't really care what
 ;; happens when I do M-x man, but I don't want my whole frame to be