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

[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)



reply via email to

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