Skip to content

Commit d4b2e1c

Browse files
committed
Fix mode unused
1 parent dd83398 commit d4b2e1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docstr.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ You should customize this variable to add your own triggeration methods."
185185
(defun docstr--enable-trigger (act)
186186
"Enable/Disable trigger base on boolean ACT."
187187
(dolist (tri docstr-trigger-alist)
188-
(let* ((mode (car tri)) (data (cdr tri))
188+
(let* ((_mode (car tri)) (data (cdr tri))
189189
(key (nth 0 data)) (fnc (nth 1 data)))
190190
(if act (docstr-util-key-advice-add key :after fnc)
191191
(docstr-util-key-advice-remove key fnc)))))

0 commit comments

Comments
 (0)