diff options
author | JSDurand <mmemmew@gmail.com> | 2021-02-08 23:36:26 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-02-08 23:36:26 +0800 |
commit | 393604e5bf4ce15df7342fdc094900fd1be2b39f (patch) | |
tree | d7b1e77cfe27b3ffa347fa2e9db632d97dfe7dc1 /common.el | |
parent | c8d4224e42a710b262e8ba67d720f6eff4e89fcb (diff) |
Constantly growing
A lot of improvements.
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. |