[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/heap fcf3edd 18/31: Added autoload cookies.
From: |
Stefan Monnier |
Subject: |
[elpa] externals/heap fcf3edd 18/31: Added autoload cookies. |
Date: |
Mon, 14 Dec 2020 12:13:36 -0500 (EST) |
branch: externals/heap
commit fcf3edd5d63ca4c7dd114d97b269a2f5a9776ac1
Author: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Commit: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Added autoload cookies.
---
heap.el | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/heap.el b/heap.el
index 81fef88..7efebb55 100644
--- a/heap.el
+++ b/heap.el
@@ -52,7 +52,7 @@
;; based on binary trees might be more suitable, but is not currently
;; implemented in this package.)
;;
-;; You create a heap using `heap-create', add elements to it using
+;; You create a heap using `make-heap', add elements to it using
;; `heap-add', delete and return the root of the heap using
;; `heap-delete-root', and modify an element of the heap using
;; `heap-modify'. A number of other heap convenience functions are also
@@ -180,7 +180,8 @@
;;; ================================================================
;;; The public functions which operate on heaps.
-(defun heap-create
+;;;###autoload
+(defun make-heap
(compare-function &optional initial-size resize-factor)
"Create an empty heap with comparison function COMPARE-FUNCTION.
@@ -201,6 +202,10 @@ defaulting to 2."
(heap--create compare-function initial-size resize-factor))
+;;;###autoload
+(defalias 'heap-create 'make-heap)
+
+
(defun heap-copy (heap)
"Return a copy of heap HEAP."
(let ((newheap (heap--create (heap--cmpfun heap) (heap--size heap)
- [elpa] externals/heap f74c766 15/31: Converted heap data structures to defstructs., (continued)
- [elpa] externals/heap f74c766 15/31: Converted heap data structures to defstructs., Stefan Monnier, 2020/12/14
- [elpa] externals/heap e354b4f 19/31: Revert default heap size to 10., Stefan Monnier, 2020/12/14
- [elpa] externals/heap e2c16be 06/31: Version 0.10.3 of the predictive completion package., Stefan Monnier, 2020/12/14
- [elpa] externals/heap 75b42f4 04/31: Version 0.9.1 of the predictive completion package., Stefan Monnier, 2020/12/14
- [elpa] externals/heap 2d51c84 01/31: Version 0.1 of the predictive completion package., Stefan Monnier, 2020/12/14
- [elpa] externals/heap 227de61 03/31: Version 0.7 of the predictive completion package., Stefan Monnier, 2020/12/14
- [elpa] externals/heap da9637e 25/31: Added heap-clear function., Stefan Monnier, 2020/12/14
- [elpa] externals/heap 4407826 22/31: More minor whitespace and commentary changes., Stefan Monnier, 2020/12/14
- [elpa] externals/heap 7f5ab59 10/31: Add heap-root function., Stefan Monnier, 2020/12/14
- [elpa] externals/heap 304c604 13/31: Fixed bug in heap-copy., Stefan Monnier, 2020/12/14
- [elpa] externals/heap fcf3edd 18/31: Added autoload cookies.,
Stefan Monnier <=
- [elpa] externals/heap a3ddd78 23/31: Remove ChangeLogs from library headers., Stefan Monnier, 2020/12/14
- [elpa] externals/heap 5ad96c3 14/31: Updated Package-Version, Package-Requires, and Keywords package headers., Stefan Monnier, 2020/12/14
- [elpa] externals/heap 11738aa 12/31: Re-filled to 72 chars/line, for mailing to gnu-emacs-sources list, Stefan Monnier, 2020/12/14
- [elpa] externals/heap 596261c 28/31: Implement iterator generators on collection data structures., Stefan Monnier, 2020/12/14
- [elpa] externals/heap 32e75bb 31/31: * heap.el: Fix first line format, Stefan Monnier, 2020/12/14
- [elpa] externals/heap 8a40ef4 08/31: Version 0.12.1 of the predictive completion package., Stefan Monnier, 2020/12/14
- [elpa] externals/heap 8ece2ad 24/31: Enable lexical binding, and fix issues it picks up., Stefan Monnier, 2020/12/14
- [elpa] externals/heap aa998ae 20/31: Updated copyright attribution and license (GPL2 -> GPL3)., Stefan Monnier, 2020/12/14
- [elpa] externals/heap 778a848 26/31: Bump version numbers and copyright years., Stefan Monnier, 2020/12/14
- [elpa] externals/heap 10a68e6 29/31: Bump version numbers since we've added iterator generators., Stefan Monnier, 2020/12/14