diff options
-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 () |