From f28a9209d94c2cfaa9605444ee5f57bb109c3cc0 Mon Sep 17 00:00:00 2001 From: Greg Sexton Date: Sat, 25 Apr 2015 15:20:15 +0100 Subject: [PATCH] Provide global origami mode --- origami.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/origami.el b/origami.el index 1321a95..99e5437 100644 --- a/origami.el +++ b/origami.el @@ -670,6 +670,10 @@ Key bindings: (setq next-error-move-function nil)) (origami-reset (current-buffer))) +;;;###autoload +(define-global-minor-mode global-origami-mode origami-mode + (lambda () (origami-mode 1))) + (provide 'origami) ;;; origami.el ends here