From 9f4502b7bcec8251beff41c80e99da6498331dc8 Mon Sep 17 00:00:00 2001 From: Shingo Fukuyama Date: Tue, 29 Jul 2014 10:45:01 +0900 Subject: [PATCH] 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)