diff options
author | 2019-07-04 13:03:47 -0400 | |
---|---|---|
committer | 2019-07-04 13:03:47 -0400 | |
commit | f704f5649ad9a9d2759def5630c19b54f5226e51 (patch) | |
tree | 50bf930c409389e0db5a13f9d201434ac7314837 /.emacs.d/init.el | |
parent | 7e1cad0634ec25e36043dfba0cb1da2772a23e87 (diff) | |
download | configs-f704f5649ad9a9d2759def5630c19b54f5226e51.tar.gz configs-f704f5649ad9a9d2759def5630c19b54f5226e51.tar.xz configs-f704f5649ad9a9d2759def5630c19b54f5226e51.zip |
emacs: add po-mode, with a hack to exit view-mode
(entered because po-mode marks the buffer as read-only, and that i
have (setq view-read-only t))
not sure why a regular :hook (po-mode . View-exit) doesn’t do it
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 30f9ecc..920b018 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -1225,6 +1225,10 @@ For disabling the behaviour for certain buffers and/or modes." (use-package go-mode) +(use-package po-mode + :hook + (po-mode . (lambda () (run-with-timer 0.1 nil 'View-exit)))) + ;;; Theme |