branch: elpa/multiple-cursors
commit 9f4502b7bcec8251beff41c80e99da6498331dc8
Author: Shingo Fukuyama <[email protected]>
Commit: Shingo Fukuyama <[email protected]>
Change file load timing
---
multiple-cursors-core.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index 974b1b8..32f1537 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -717,7 +717,9 @@ for running commands with multiple cursors.")
(defvar mc/cmds-to-run-for-all nil
"Commands to run for all cursors in multiple-cursors-mode")
-(load mc/list-file t) ;; load, but no errors if it does not exist yet please
+(defun mc/load-list-file () (load mc/list-file t))
+
+(add-hook 'after-init-hook 'mc/load-list-file)
(provide 'multiple-cursors-core)