[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/queue 4427998 06/14: Added autoload cookies.
From: |
Stefan Monnier |
Subject: |
[elpa] externals/queue 4427998 06/14: Added autoload cookies. |
Date: |
Mon, 14 Dec 2020 12:02:45 -0500 (EST) |
branch: externals/queue
commit 442799876b16b1826ca94584dd199caaa4de145e
Author: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Commit: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Added autoload cookies.
---
queue.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/queue.el b/queue.el
index b7a1ade..279a355 100644
--- a/queue.el
+++ b/queue.el
@@ -32,7 +32,7 @@
;; first-in first-out (FIFO) stack, i.e. elements can be added to and
;; removed from the front or back of the queue.
;;
-;; Yoy create a queue using `queue-create', add an element to the end of
+;; You create a queue using `make-queue', add an element to the end of
;; the queue using `queue-enqueue', and push an element onto the front
;; of the queue using `queue-prepend'. To remove the first element from
;; a queue, use `queue-dequeue'. A number of other queue convenience
@@ -56,6 +56,11 @@
head tail)
+;;;###autoload
+(defalias 'make-queue 'queue-create
+ "Create an empty queue data structure.")
+
+
(defun queue-enqueue (queue element)
"Append an ELEMENT to the end of the QUEUE."
(if (queue-head queue)
- [elpa] externals/queue 6d9b0c4 02/14: Bumped copyright year, (continued)
- [elpa] externals/queue 6d9b0c4 02/14: Bumped copyright year, Stefan Monnier, 2020/12/14
- [elpa] externals/queue 84b3d01 04/14: Re-filled to 72 chars/line, for mailing to gnu-emacs-sources list, Stefan Monnier, 2020/12/14
- [elpa] externals/queue b47d38f 05/14: Updated Package-Version, Package-Requires, and Keywords package headers., Stefan Monnier, 2020/12/14
- [elpa] externals/queue da5d38e 08/14: Trivial whitespace tidying., Stefan Monnier, 2020/12/14
- [elpa] externals/queue 82aa3ef 09/14: More minor whitespace and commentary changes., Stefan Monnier, 2020/12/14
- [elpa] externals/queue 2e53a45 10/14: Remove ChangeLogs from library headers., Stefan Monnier, 2020/12/14
- [elpa] externals/queue bbc4df9 12/14: Fix buggy queue-empty and queue-first definitions., Stefan Monnier, 2020/12/14
- [elpa] externals/queue f83d2b8 11/14: Enable lexical binding, and fix issues it picks up., Stefan Monnier, 2020/12/14
- [elpa] externals/queue c9ec2e3 14/14: Bump version numbers since we've added iterator generators., Stefan Monnier, 2020/12/14
- [elpa] externals/queue d7ee623 01/14: Added queue.el package, Stefan Monnier, 2020/12/14
- [elpa] externals/queue 4427998 06/14: Added autoload cookies.,
Stefan Monnier <=
- [elpa] externals/queue 0b03d23 07/14: Updated copyright attribution and license (GPL2 -> GPL3)., Stefan Monnier, 2020/12/14
- [elpa] externals/queue 1c230d7 13/14: Implement iterator generators on collection data structures., Stefan Monnier, 2020/12/14