mirror of
https://codeberg.org/scip/autoscratch.git
synced 2025-12-16 20:10:57 +01:00
fixlints
This commit is contained in:
@@ -195,7 +195,7 @@ to $mode-scratch."
|
||||
"If FORM is a function execute interactively, otherwise evaluate it.
|
||||
Executes `autoscratch-trigger-hook' after evaluation."
|
||||
(if (autoscratch--function-p form)
|
||||
(funcall-interactively form)
|
||||
(call-interactively form)
|
||||
(eval form))
|
||||
(run-hooks 'autoscratch-post-trigger-hook)
|
||||
(message (format "autoscratch switched to %s" major-mode)))
|
||||
|
||||
Reference in New Issue
Block a user