Use when instead of if in electric-graphviz-dot-semi
This commit is contained in:
parent
f1aed9c65e
commit
a89a9fe37a
@ -220,7 +220,7 @@
|
||||
"Terminate line and indent next line."
|
||||
(interactive)
|
||||
(insert ";")
|
||||
(if (and graphviz-dot-auto-indent-on-semi
|
||||
(when (and graphviz-dot-auto-indent-on-semi
|
||||
(not (graphviz-dot-comment-or-string-p)))
|
||||
(save-excursion
|
||||
(beginning-of-line)
|
||||
|
Loading…
Reference in New Issue
Block a user