mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-02-16 16:24:18 +00:00
Hmm, fix this define-minor-mode
This commit is contained in:
parent
0a4652026e
commit
0565f21d68
1 changed files with 2 additions and 3 deletions
|
|
@ -32,11 +32,10 @@
|
|||
|
||||
(defun update-hard-drive-space-string ()
|
||||
(->> (get-hard-drive-space)
|
||||
(format " [%s]")
|
||||
(format "[%s]")
|
||||
(setq hard-drive-space)))
|
||||
|
||||
(define-minor-mode display-hard-drive-space-mode
|
||||
nil nil nil
|
||||
(define-minor-mode display-hard-drive-space-mode ""
|
||||
:global t
|
||||
(cond (display-hard-drive-space-mode
|
||||
(add-to-list 'global-mode-string 'hard-drive-space t)
|
||||
|
|
|
|||
Loading…
Reference in a new issue