;; for clarity, don't do anything
)))
+(declare-function darkroom-tentative-mode "darkroom" t)
+
+;;;###autoload
(define-minor-mode darkroom-mode
"Remove visual distractions and focus on writing. When this
mode is active, everything but the buffer's text is elided from
(remove-hook 'window-configuration-change-hook 'darkroom--set-margins
t))))
+;;;###autoload
(define-minor-mode darkroom-tentative-mode
"Enters `darkroom-mode' when all other windows are deleted."
nil " Room" darkroom-mode-map
(darkroom--leave))))
-
(provide 'darkroom)
;;; darkroom.el ends here