[emacs] Fix bug on KDE

This commit is contained in:
John Doty 2026-06-10 10:03:11 -07:00
parent 3475c0dc58
commit 23d85a446a
2 changed files with 7 additions and 9 deletions

View file

@ -66,11 +66,10 @@
'(package-selected-packages
'(adaptive-wrap add-node-modules-path bazel blacken cider claude-code-ide
claudemacs company dap-mode deadgrep doom-themes
earthfile-mode eat editorconfig eglot-java
exec-path-from-shell filladapt fish-mode flycheck-elm
ghostel go-mode gptel howm ink-mode jsonnet-mode lua-mode
magit modus-themes monky poly-markdown prettier-js
protobuf-mode request ron-mode rust-mode scala-ts-mode
earthfile-mode eat eglot-java exec-path-from-shell
filladapt fish-mode flycheck-elm ghostel go-mode howm
ink-mode jsonnet-mode magit markdown-mode poly-markdown
prettier-js protobuf-mode ron-mode rust-mode scala-ts-mode
sql-indent swift-mode terraform-mode typescript-mode vterm
wgsl-mode xterm-color zig-mode))
'(package-vc-selected-packages

View file

@ -252,10 +252,9 @@
;; Cleanup all the whitespaces.
(add-hook 'before-save-hook 'whitespace-cleanup)
;; Fix path loading on MacOS X
(when (memq window-system '(mac ns))
(use-package exec-path-from-shell :ensure t)
(exec-path-from-shell-initialize))
;; Fix path loading on MacOS X... and KDE 44 apparently
(use-package exec-path-from-shell :ensure t)
(exec-path-from-shell-initialize)
;;; Stefan Monnier <foo at acm.org>. It is the opposite of fill-paragraph
(defun unfill-paragraph (&optional region)