diff options
author | Kyle Meyer <kyle@kyleam.com> | 2016-10-27 00:05:54 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2016-10-27 00:05:54 -0400 |
commit | bcb0a3b9a999a10c59599f2e543b3b46d6dc2501 (patch) | |
tree | 627f06579f67c9569b6f141466f05bb8628e4f19 | |
parent | 595596be916f9c4154d3dd2ec0c67d3435e9abcf (diff) | |
download | emacs.d-bcb0a3b9a999a10c59599f2e543b3b46d6dc2501.tar.gz |
Add writeroom-toggle-fullscreen command
-rw-r--r-- | init.el | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1685,6 +1685,13 @@ (setq writeroom-fullscreen-effect 'maximized) (setq writeroom-width fill-column) + (defun km/writeroom-toggle-fullscreen () + (interactive) + (setq writeroom-fullscreen-effect + (if (eq writeroom-fullscreen-effect 'fullboth) + 'maximized + 'fullboth))) + (defvar-local km/writeroom-old-truncate-lines nil) (defun km/writeroom-setup () |