diff options
Diffstat (limited to 'common.el')
-rw-r--r-- | common.el | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -192,8 +192,14 @@ Require TO-REQUIRE so that we don't have errors. Optional LIGHT means to use the lighter name instead of completely hiding it." - (cond (to-require (require to-require))) - `(setcdr (assq ',minor minor-mode-alist) (list (or ,light "")))) + ;; (cond (to-require (require to-require))) + (cond + (to-require `(eval-after-load ',to-require + (quote + (setcdr + (assq ',minor minor-mode-alist) + (list (or ,light "")))))) + (`(setcdr (assq ',minor minor-mode-alist) (list (or ,light "")))))) (provide 'common) ;;; common.el ends here. |