tools/electric-indent: fix void-variable reference
This commit is contained in:
parent
40567a881d
commit
a841b3ce99
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@
|
|||
trigger electric indentation."
|
||||
(declare (indent 1))
|
||||
(let ((modes (if (listp modes) modes (list modes)))
|
||||
(chars (doom-mplist-get rest :chars))
|
||||
(words (doom-mplist-get rest :words)))
|
||||
(chars (doom-mplist-get plist :chars))
|
||||
(words (doom-mplist-get plist :words)))
|
||||
(when (or chars words)
|
||||
(let ((fn-name (intern (format "doom--electric-%s" (s-join "-" (mapcar 'symbol-name modes))))))
|
||||
`(progn
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue