Update feeds, GDScript and small org-fc tweak

This commit is contained in:
2025-04-16 12:15:10 +09:00
parent c34b7252e4
commit a556aca1f9
5 changed files with 62 additions and 5 deletions

View File

@@ -26,6 +26,23 @@
(fset #'jsonrpc--log-event #'ignore)
(setq jsonrpc-event-hook nil))
;; This function raises the window to the front using KDE KWin.
(defun my/raise-window ()
(call-process-shell-command "~/wayland-window -f emacs &" nil 0))
;; Usually, when I open a file with emacsclient and the frame already exists, I
;; want it to be raised to the top. Unfortunately, that does not happen by
;; default. Here is my solution.
(add-hook 'server-visit-hook #'my/raise-window)
;; This package provides syntax highlighting for gdscript.
(use-package gdscript-mode
:ensure t
:defer t
:commands (gdscript-mode))
(add-hook 'gdscript-mode-hook #'eglot-ensure)
;; This package provides syntax highlighting and some utilities for
;; working with rust code.
(use-package rust-mode