From 23d85a446ac91a583397d5aeb23972d96ef38dba Mon Sep 17 00:00:00 2001 From: John Doty Date: Wed, 10 Jun 2026 10:03:11 -0700 Subject: [PATCH] [emacs] Fix bug on KDE --- .emacs.d/custom.el | 9 ++++----- .emacs.d/init.el | 7 +++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.emacs.d/custom.el b/.emacs.d/custom.el index 91e58e8..5ea1092 100644 --- a/.emacs.d/custom.el +++ b/.emacs.d/custom.el @@ -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 diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 32d822b..471cfba 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -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 . It is the opposite of fill-paragraph (defun unfill-paragraph (&optional region)