diff options
Diffstat (limited to 'common.el')
-rw-r--r-- | common.el | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -64,6 +64,13 @@ (user-error "You pressed an intentionally disabled key-binding: %s" (key-description (this-command-keys-vector)))) +;;; Hide some minor mode from the mode line display. + +;;;###autoload +(defmacro durand-hide-minor-mode (minor) + "Hide MINOR from the mode line." + `(setcdr (assq ',minor minor-mode-alist) (list ""))) + (provide 'common) ;;; common.el ends here. |