emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/swift-mode 7552428931 2/2: Add workaround comments


From: ELPA Syncer
Subject: [nongnu] elpa/swift-mode 7552428931 2/2: Add workaround comments
Date: Fri, 23 Sep 2022 01:59:08 -0400 (EDT)

branch: elpa/swift-mode
commit 7552428931b5b8fe8b40e835484dc9d669bf2e87
Author: taku0 <mxxouy6x3m_github@tatapa.org>
Commit: taku0 <mxxouy6x3m_github@tatapa.org>

    Add workaround comments
---
 swift-mode.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/swift-mode.el b/swift-mode.el
index e9d43966bb..0973449872 100644
--- a/swift-mode.el
+++ b/swift-mode.el
@@ -49,9 +49,7 @@
   :group 'languages
   :prefix "swift-mode:")
 
-;; FIXME: Could you report the need for these `custom-add-load' as a bug (or
-;; a feature request, but both go through `report-emacs-bug' anyway).
-;;`update-directory-autoloads' does not handle `:group'.
+;; WORKAROUND: `update-directory-autoloads' does not handle `:group'.
 ;;;###autoload (custom-add-load 'languages 'swift-mode)
 
 ;; WORKAROUND: `cus-load' overrides `custom-loads'
@@ -152,6 +150,8 @@ Signal `scan-error' if it hits opening parentheses."
 ;;;###autoload
 (defsubst swift-mode:add-supported-extension-for-speedbar ()
   "Register .swift to speedbar."
+  ;; FIXME: Use `with-eval-after-load' when `package-lint' allows it.
+  ;; See also https://github.com/swift-emacs/swift-mode/pull/179
   (if (fboundp 'speedbar-add-supported-extension)
       (speedbar-add-supported-extension ".swift")
     (add-hook 'speedbar-load-hook



reply via email to

[Prev in Thread] Current Thread [Next in Thread]