From 4d28d444af32ddf4af5900786473fadacc43e4b1 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Tue, 19 Jan 2021 15:07:57 +0800 Subject: QoL changes. * bongo.el: Use header-line now. Try to improve the tick. * dired-conf.el: Require dired-x. * elisp.el: Hide Eldoc on the mode line. * text-conf.el (assq): Hide auto-fill-mode on the mode line. * modeline.el (modeline-format-left): Display minor modes information. (modeline-minor-modes-name-len-max): Max length of displayed minor modes. (modeline-format-minor-modes): Display minor modes information. (durand-mouse-minor-mode-menu): Make the default minor mode menu work with my custom mode line. * rime-conf.el ("emacs-rime"): Bind a key to set the input method to rime in the minibuffer, so that I can use this input method to search the buffer, for example. --- text-conf.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'text-conf.el') diff --git a/text-conf.el b/text-conf.el index 1fe9696..46d8fa3 100644 --- a/text-conf.el +++ b/text-conf.el @@ -2,6 +2,11 @@ (require 'text-mode) +;;; Hide auto-fill mode in the mode line. + +; The original value is " Fill" +(setcdr (assq 'auto-fill-function minor-mode-alist) (list "")) + ;;;###autoload (defvar insert-section-heading-history nil "The history of inserted section heading strings") -- cgit v1.2.3-18-g5258