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

View file

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