diff options
author | JSDurand <mmemmew@gmail.com> | 2021-01-29 12:33:03 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-01-29 12:33:03 +0800 |
commit | c8d4224e42a710b262e8ba67d720f6eff4e89fcb (patch) | |
tree | bb631456e910e1aeb8984e00db8e3a605f438561 /common.el | |
parent | 43afe6c5db55704f787aaee4cedd7f4c69206b8b (diff) |
Change the directory to .emacs.d now.
Now I don't have to use a special command to launch Emacs. And the
configuration files are placed in the normal position now.
Diffstat (limited to 'common.el')
-rw-r--r-- | common.el | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -186,11 +186,14 @@ ARG means do this command ARG times." ;;; Hide some minor mode from the mode line display. ;;;###autoload -(defmacro durand-hide-minor-mode (minor &optional to-require) +(defmacro durand-hide-minor-mode (minor &optional to-require light) "Hide MINOR from the mode line. -Require TO-REQUIRE so that we don't have errors." +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 ""))) + `(setcdr (assq ',minor minor-mode-alist) (list (or ,light "")))) (provide 'common) ;;; common.el ends here. |