Skip to content

Commit

Permalink
Fix: (plz-queue) Move new slot to end
Browse files Browse the repository at this point in the history
  • Loading branch information
alphapapa committed Apr 15, 2023
1 parent 2bddc47 commit 973050f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 17 deletions.
3 changes: 2 additions & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ You may also clear a queue with ~plz-clear~, which cancels any active or queued

** 0.5.3-pre

Nothing new yet.
*Fixes*
+ Move new slot in ~plz-queue~ struct to end to prevent invalid byte-compiler expansions for already-compiled applications (which would require them to be recompiled after upgrading ~plz~).

** 0.5.2

Expand Down
6 changes: 3 additions & 3 deletions plz.el
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,10 @@ default, it's FIFO). Use functions `plz-queue', `plz-run', and
:documentation "Queued requests.")
(canceled-p nil
:documentation "Non-nil when queue has been canceled.")
(finally nil
:documentation "Function called after queue has been emptied or canceled.")
first-active last-active
first-request last-request)
first-request last-request
(finally nil
:documentation "Function called after queue has been emptied or canceled."))

(defun plz-queue (queue &rest args)
"Enqueue request for ARGS on QUEUE and return QUEUE.
Expand Down
29 changes: 16 additions & 13 deletions plz.info
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,10 @@ File: README.info, Node: 053-pre, Next: 052, Up: Changelog
3.1 0.5.3-pre
=============

Nothing new yet.
*Fixes*
• Move new slot in ‘plz-queue’ struct to end to prevent invalid
byte-compiler expansions for already-compiled applications (which
would require them to be recompiled after upgrading ‘plz’).


File: README.info, Node: 052, Next: 051, Prev: 053-pre, Up: Changelog
Expand Down Expand Up @@ -456,18 +459,18 @@ Node: Queueing6709
Node: Tips7967
Node: Changelog8268
Node: 053-pre8501
Node: 0528613
Node: 0518824
Node: 059076
Node: 049282
Node: 0310188
Node: 02110636
Node: 0210785
Node: 0110914
Node: Credits11008
Node: Development11374
Node: Copyright assignment11888
Node: License12476
Node: 0528817
Node: 0519028
Node: 059280
Node: 049486
Node: 0310392
Node: 02110840
Node: 0210989
Node: 0111118
Node: Credits11212
Node: Development11578
Node: Copyright assignment12092
Node: License12680

End Tag Table

Expand Down

0 comments on commit 973050f

Please sign in to comment.