[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ement cca407f549 06/13: Tidy: Compiler warnings
From: |
ELPA Syncer |
Subject: |
[elpa] externals/ement cca407f549 06/13: Tidy: Compiler warnings |
Date: |
Fri, 8 Sep 2023 06:58:07 -0400 (EDT) |
branch: externals/ement
commit cca407f54951809237fe27ab6e14cb8c95e9858e
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Tidy: Compiler warnings
---
ement-notifications.el | 12 +++++++++++-
ement-notify.el | 2 +-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/ement-notifications.el b/ement-notifications.el
index 8d4a4e4169..1e190ad0a9 100644
--- a/ement-notifications.el
+++ b/ement-notifications.el
@@ -31,7 +31,9 @@
(require 'cl-lib)
(require 'map)
-(require 'ement)
+(require 'ement-lib)
+(require 'ement-room)
+(require 'ement-notify)
;;;; Structs
@@ -44,6 +46,7 @@
NOTIFICATION is an alist representing a notification returned
from the \"/notifications\" endpoint. The notification's event
is passed through `ement--make-event'."
+ (declare (function ement--make-event "ement"))
(pcase-let (((map room_id _actions _ts event read) notification))
(make-ement-notification :room-id room_id :readp read
:event (ement--make-event event))))
@@ -74,6 +77,13 @@ Used to avoid overlapping requests.")
(defvar-local ement-notifications-metadata nil
"Metadata for `ement-notifications' buffers.")
+;; Variables from other files.
+(defvar ement-ewoc)
+(defvar ement-session)
+(defvar ement-notify-prism-background)
+(defvar ement-room-message-format-spec)
+(defvar ement-room-sender-in-left-margin)
+
;;;; Commands
;;;###autoload
diff --git a/ement-notify.el b/ement-notify.el
index 58e27d0e12..8cc0803175 100644
--- a/ement-notify.el
+++ b/ement-notify.el
@@ -169,7 +169,7 @@ margins in Emacs. But it's useful, anyway."
(defun ement-notify-switch-to-notifications-buffer ()
"Switch to \"*Ement Notifications*\" buffer."
- (declare (function ement-notifications--log-buffer "ement-notifications"))
+ (declare (function ement-notifications "ement-notifications"))
(interactive)
(call-interactively #'ement-notifications))
- [elpa] externals/ement updated (9da7b8e085 -> fd1a65794d), ELPA Syncer, 2023/09/08
- [elpa] externals/ement 4f7ef5d039 03/13: Tidy: Compiler warning, ELPA Syncer, 2023/09/08
- [elpa] externals/ement c6331a2f72 01/13: Add: (ement-notifications), ELPA Syncer, 2023/09/08
- [elpa] externals/ement a83ab5c49f 05/13: Fix, ELPA Syncer, 2023/09/08
- [elpa] externals/ement 075920edac 09/13: Comment: Add TODO, ELPA Syncer, 2023/09/08
- [elpa] externals/ement 02f61e57e8 11/13: Comment: Improve commentary, ELPA Syncer, 2023/09/08
- [elpa] externals/ement 46afa1f5a1 02/13: Change: Integrate ement-notify and ement-notifications, and retro-load, ELPA Syncer, 2023/09/08
- [elpa] externals/ement cca407f549 06/13: Tidy: Compiler warnings,
ELPA Syncer <=
- [elpa] externals/ement 386103cc74 07/13: Fix, ELPA Syncer, 2023/09/08
- [elpa] externals/ement 1d8afe6fdf 12/13: Docs: Update changelog, ELPA Syncer, 2023/09/08
- [elpa] externals/ement fd1a65794d 13/13: Merge: (ement-notifications), ELPA Syncer, 2023/09/08
- [elpa] externals/ement 83b4c64c5c 08/13: Change: Use switch-to-buffer, ELPA Syncer, 2023/09/08
- [elpa] externals/ement 36db1869dd 04/13: Change/Fix, ELPA Syncer, 2023/09/08
- [elpa] externals/ement 71e628b820 10/13: Comment: Remove FIXME, ELPA Syncer, 2023/09/08