Fix some init bugs
This commit is contained in:
10
init.el
10
init.el
@ -24,11 +24,10 @@
|
|||||||
(package-install 'use-package))
|
(package-install 'use-package))
|
||||||
|
|
||||||
;; use-package
|
;; use-package
|
||||||
(eval-when-compile
|
(require 'use-package)
|
||||||
(require 'use-package)
|
(setq use-package-always-ensure t
|
||||||
(setq use-package-always-ensure t
|
|
||||||
package-user-dir (expand-file-name "var/elpa"
|
package-user-dir (expand-file-name "var/elpa"
|
||||||
user-emacs-directory)))
|
user-emacs-directory))
|
||||||
|
|
||||||
;; no-littering
|
;; no-littering
|
||||||
(use-package no-littering
|
(use-package no-littering
|
||||||
@ -2508,6 +2507,7 @@ current buffer is a Jupyter buffer, just use that."
|
|||||||
(upcase-initials (symbol-name mode))
|
(upcase-initials (symbol-name mode))
|
||||||
(unless (zerop prec)
|
(unless (zerop prec)
|
||||||
(concat ": " (number-to-string prec))))))
|
(concat ": " (number-to-string prec))))))
|
||||||
|
(with-eval-after-load 'doom-modeline
|
||||||
(doom-modeline-def-segment calc
|
(doom-modeline-def-segment calc
|
||||||
"Display calculator icons and info."
|
"Display calculator icons and info."
|
||||||
(concat
|
(concat
|
||||||
@ -2537,7 +2537,7 @@ current buffer is a Jupyter buffer, just use that."
|
|||||||
(calc-incomplete-algebraic-mode
|
(calc-incomplete-algebraic-mode
|
||||||
(concat
|
(concat
|
||||||
(doom-modeline-spc)
|
(doom-modeline-spc)
|
||||||
"IAlg"))))))))
|
"IAlg")))))))))
|
||||||
|
|
||||||
;; sage (for when calc is not enough)
|
;; sage (for when calc is not enough)
|
||||||
(use-package sage-shell-mode
|
(use-package sage-shell-mode
|
||||||
|
|||||||
Reference in New Issue
Block a user