From a44e8d6bfd06e8746030eb1f2e6d3a200a2f4682 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 11 Sep 2023 23:56:21 +0200 Subject: [PATCH] nit: general reformatting & minor comment revision --- lisp/doom-packages.el | 10 +++++----- modules/app/rss/config.el | 4 +++- modules/lang/fortran/config.el | 1 + 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/lisp/doom-packages.el b/lisp/doom-packages.el index 0e6c2784f..72d3896b6 100644 --- a/lisp/doom-packages.el +++ b/lisp/doom-packages.el @@ -119,11 +119,11 @@ uses a straight or package.el command directly).") (append (apply fn args) ; lockfiles still take priority (doom-package-pinned-list))) -;; HACK: This fixes an issue present in recent builds of Emacs 29. See -;; emacs-mirror/emacs@0d383b592c2f. Straight.el uses `loaddefs-generate' if it -;; is available, which activates `emacs-lisp-mode' to read autoloads files, -;; but does so without suppressing its hooks. Some packages (like overseer) -;; add hooks to `emacs-lisp-mode-hook' in their autoloads, and once triggered, +;; HACK: This fixes an issue introduced in emacs-mirror/emacs@0d383b592c2f and +;; is present in >=29: Straight.el uses `loaddefs-generate' if it is +;; available, which activates `emacs-lisp-mode' to read autoloads files, but +;; does so without suppressing its hooks. Some packages (like overseer) add +;; hooks to `emacs-lisp-mode-hook' in their autoloads, and once triggered, ;; they will try to load their dependencies (like dash or pkg-info), causing ;; file errors. ;; REVIEW: Report this upstream. diff --git a/modules/app/rss/config.el b/modules/app/rss/config.el index a292f4006..7d952e42d 100644 --- a/modules/app/rss/config.el +++ b/modules/app/rss/config.el @@ -14,8 +14,9 @@ easier to scroll through.") (defvar +rss-workspace-name "*rss*" "Name of the workspace that contains the elfeed buffer.") + ;; -;; Packages +;;; Packages (use-package! elfeed :commands elfeed @@ -83,6 +84,7 @@ easier to scroll through.") (message "elfeed-org: ignoring %S because it can't be read" file)) (setq rmh-elfeed-org-files (cl-remove-if-not #'file-exists-p files)))))) + (use-package! elfeed-goodies :after elfeed :config diff --git a/modules/lang/fortran/config.el b/modules/lang/fortran/config.el index 906808e5e..1a1f420b7 100644 --- a/modules/lang/fortran/config.el +++ b/modules/lang/fortran/config.el @@ -48,6 +48,7 @@ ["Run" +fortran/run :active t :help "Run the Executable"] ["Test" +fortran/fpm-test :active (+fortran--fpm-toml) :help "Run the Unit Tests"]))) + (use-package! fortran ;; The `.for' extension is automatically recognized by Emacs and invokes ;; `fortran-mode', but not its capital variant `.FOR'. Many old files are