[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/exwm d8fcf18db7 09/14: Declare defsubst indentation
From: |
ELPA Syncer |
Subject: |
[elpa] externals/exwm d8fcf18db7 09/14: Declare defsubst indentation |
Date: |
Wed, 6 Sep 2023 15:57:52 -0400 (EDT) |
branch: externals/exwm
commit d8fcf18db77b845e1d787558f00aa21dc93310f3
Author: Adrián Medraño Calvo <adrian@medranocalvo.com>
Commit: Adrián Medraño Calvo <adrian@medranocalvo.com>
Declare defsubst indentation
* exwm-core.el (exwm--id->buffer, exwm--buffer->id, exwm--terminal-p):
* exwm-input.el (exwm-input--unread-event):
* exwm-workspace.el (exwm-workspace--position)
(exwm-workspace--workspace-p): Declare indentation.
---
exwm-core.el | 3 +++
exwm-input.el | 2 ++
exwm-workspace.el | 5 +++--
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/exwm-core.el b/exwm-core.el
index 75c7c1b17b..bd6fcf822c 100644
--- a/exwm-core.el
+++ b/exwm-core.el
@@ -116,10 +116,12 @@ FORMAT-STRING is a string specifying the message to
output, as in
(defsubst exwm--id->buffer (id)
"X window ID => Emacs buffer."
+ (declare (indent defun))
(cdr (assoc id exwm--id-buffer-alist)))
(defsubst exwm--buffer->id (buffer)
"Emacs buffer BUFFER => X window ID."
+ (declare (indent defun))
(car (rassoc buffer exwm--id-buffer-alist)))
(defun exwm--lock (&rest _args)
@@ -183,6 +185,7 @@ least SECS seconds later."
(defsubst exwm--terminal-p (&optional frame)
"Return t when FRAME's terminal is EXWM's terminal.
If FRAME is null, use selected frame."
+ (declare (indent defun))
(eq exwm--terminal (frame-terminal frame)))
(defun exwm--get-client-event-mask ()
diff --git a/exwm-input.el b/exwm-input.el
index 30ae89353e..7ec9a29128 100644
--- a/exwm-input.el
+++ b/exwm-input.el
@@ -587,9 +587,11 @@ instead."
(and (= emacs-major-version 26)
(< emacs-minor-version 2)))
(defsubst exwm-input--unread-event (event)
+ (declare (indent defun))
(setq unread-command-events
(append unread-command-events (list event))))
(defsubst exwm-input--unread-event (event)
+ (declare (indent defun))
(setq unread-command-events
(append unread-command-events `((t . ,event)))))))
diff --git a/exwm-workspace.el b/exwm-workspace.el
index dd1f22a9a2..1db91275fa 100644
--- a/exwm-workspace.el
+++ b/exwm-workspace.el
@@ -150,8 +150,8 @@ Please manually run the hook
`exwm-workspace-list-change-hook' afterwards.")
(defsubst exwm-workspace--position (frame)
"Retrieve index of given FRAME in workspace list.
-
-NIL if FRAME is not a workspace"
+NIL if FRAME is not a workspace."
+ (declare (indent defun))
(cl-position frame exwm-workspace--list))
(defsubst exwm-workspace--count ()
@@ -160,6 +160,7 @@ NIL if FRAME is not a workspace"
(defsubst exwm-workspace--workspace-p (frame)
"Return t if FRAME is a workspace."
+ (declare (indent defun))
(memq frame exwm-workspace--list))
(defsubst exwm-workspace--workarea (frame)
- [elpa] externals/exwm updated (a417f0d45e -> 381637aa1c), ELPA Syncer, 2023/09/06
- [elpa] externals/exwm b100eb74c5 04/14: Merge branch 'nbarrientos.github.com/ib_exwm_conn_nil' into externals/exwm, ELPA Syncer, 2023/09/06
- [elpa] externals/exwm 23f1ca740d 07/14: Selectively ignore left & right struts in horizontally aligned monitors, ELPA Syncer, 2023/09/06
- [elpa] externals/exwm 612e64bf9b 10/14: Update copyright year to 2023, ELPA Syncer, 2023/09/06
- [elpa] externals/exwm d340a6a563 08/14: Merge branch 'jollm.github.com/ignore-struts-top-bottom' into externals/exwm, ELPA Syncer, 2023/09/06
- [elpa] externals/exwm c7d1fd45bc 12/14: Fix layout being refreshed too often on minibuffer setup, ELPA Syncer, 2023/09/06
- [elpa] externals/exwm 67c5b316be 05/14: Convert `exwm-workspace--workareas' to a list of `xcb:RECTANGLE's, ELPA Syncer, 2023/09/06
- [elpa] externals/exwm cff02333e2 01/14: Don't assume that exwm--connection is non-nil, ELPA Syncer, 2023/09/06
- [elpa] externals/exwm 7318f857f2 02/14: Observe connection status on deinitialization, ELPA Syncer, 2023/09/06
- [elpa] externals/exwm d8fcf18db7 09/14: Declare defsubst indentation,
ELPA Syncer <=
- [elpa] externals/exwm fb73aaaf8f 11/14: Convert `lsh' to `ash', ELPA Syncer, 2023/09/06
- [elpa] externals/exwm d3567a8c7f 13/14: Fix bytecompiler warnings, improve docstrings, ELPA Syncer, 2023/09/06
- [elpa] externals/exwm 381637aa1c 14/14: Declare external function, ELPA Syncer, 2023/09/06
- [elpa] externals/exwm 4970d6ad4e 03/14: More selectively ignore top and bottom struts, ELPA Syncer, 2023/09/06
- [elpa] externals/exwm 937da86458 06/14: Convert `delta' to the size the strut occupies in the workarea, ELPA Syncer, 2023/09/06