Skip to content

Commit 8022a38

Browse files
committed
Add global entry.
1 parent b8c89bc commit 8022a38

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docstr.el

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,15 @@ variable. Argument DESC is the description of VAR."
167167
:group docstr
168168
(if docstr-mode (docstr--enable) (docstr--disable)))
169169

170+
(defun docstr--turn-on-docstr-mode ()
171+
"Turn on the 'docstr-mode'."
172+
(docstr-mode 1))
173+
174+
;;;###autoload
175+
(define-globalized-minor-mode global-docstr-mode
176+
docstr-mode docstr--turn-on-docstr-mode
177+
:require 'docstr)
178+
170179
;;
171180
;; (@* "Core" )
172181
;;

0 commit comments

Comments
 (0)