summaryrefslogtreecommitdiff
path: root/elisp.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-01-20 11:08:00 +0800
committerJSDurand <mmemmew@gmail.com>2021-01-20 17:10:01 +0800
commit53db9402916822e673b3b49fcba26537e2416b59 (patch)
tree7f999ef9f995871d53051b487cd347876c5e43ce /elisp.el
parent4d28d444af32ddf4af5900786473fadacc43e4b1 (diff)
More QoL changes
* basic.el (auto-fill-function): Hide auto-fill-function from the mode line. (auto-revert-mode): Hide auto-revert-mode from the mode line. * common.el (durand-hide-minor-mode): Use a simple macro to facilitate hiding. * elisp.el (eldoc-mode): Use a macro to hide instead. * eww-conf.el (eww-bookmarks-directory): Start Configuring EWW. * init.el ("durand-simple"): My simple utilities. ("search-conf.el"): Configuring searching. * search-conf.el (search-whitespace-regexp): White space as wild cards (isearch-lax-whitespace): as above (isearch-lazy-count): Count the matches (isearch-allow-scroll): Scrolling while searching (durand-search-replace-symbol): For quick refactoring * text-conf.el (assq): Hide using the macro instead.
Diffstat (limited to 'elisp.el')
-rw-r--r--elisp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/elisp.el b/elisp.el
index f9a893b..17ff506 100644
--- a/elisp.el
+++ b/elisp.el
@@ -3,7 +3,7 @@
;;; Hide Eldoc in the mode line
;; The original value is eldoc-minor-mode-string
-(setcdr (assq 'eldoc-mode minor-mode-alist) (list ""))
+(durand-hide-minor-mode eldoc-mode)
;;; fontification of extra keywords in emacs lisp files