summaryrefslogtreecommitdiff
path: root/text-conf.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-01-19 15:07:57 +0800
committerJSDurand <mmemmew@gmail.com>2021-01-19 15:07:57 +0800
commit4d28d444af32ddf4af5900786473fadacc43e4b1 (patch)
tree1b39232dcbda85cbdad85d64c3e0cb536da267a6 /text-conf.el
parent82d3a1fcc5c36a48b2a404536f89e1d80c48d999 (diff)
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.
Diffstat (limited to 'text-conf.el')
-rw-r--r--text-conf.el5
1 files changed, 5 insertions, 0 deletions
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")