mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
tools/electric-indent: fix void-variable reference
This commit is contained in:
@ -23,8 +23,8 @@
|
|||||||
trigger electric indentation."
|
trigger electric indentation."
|
||||||
(declare (indent 1))
|
(declare (indent 1))
|
||||||
(let ((modes (if (listp modes) modes (list modes)))
|
(let ((modes (if (listp modes) modes (list modes)))
|
||||||
(chars (doom-mplist-get rest :chars))
|
(chars (doom-mplist-get plist :chars))
|
||||||
(words (doom-mplist-get rest :words)))
|
(words (doom-mplist-get plist :words)))
|
||||||
(when (or chars words)
|
(when (or chars words)
|
||||||
(let ((fn-name (intern (format "doom--electric-%s" (s-join "-" (mapcar 'symbol-name modes))))))
|
(let ((fn-name (intern (format "doom--electric-%s" (s-join "-" (mapcar 'symbol-name modes))))))
|
||||||
`(progn
|
`(progn
|
||||||
|
Reference in New Issue
Block a user