[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 835b4301b4 62/84: Add 'pure' and 'side-effect-fr
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 835b4301b4 62/84: Add 'pure' and 'side-effect-free' properties to take |
Date: |
Tue, 3 Jan 2023 08:57:36 -0500 (EST) |
branch: externals/compat
commit 835b4301b4f2a6de02e9dacf0215857753018ab3
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Add 'pure' and 'side-effect-free' properties to take
---
compat-29.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/compat-29.el b/compat-29.el
index 7d3f26b401..65a300c78f 100644
--- a/compat-29.el
+++ b/compat-29.el
@@ -105,6 +105,7 @@ Otherwise, return LIST after truncating it."
"Return the first N elements of LIST.
If N is zero or negative, return nil.
If N is greater or equal to the length of LIST, return LIST (or a copy)."
+ (declare (pure t) (side-effect-free t))
(let (copy)
(while (and (< 0 n) list)
(push (pop list) copy)
- [elpa] externals/compat 0c14c42bc1 50/84: Copy edebug specifications instead of referencing, (continued)
- [elpa] externals/compat 0c14c42bc1 50/84: Copy edebug specifications instead of referencing, ELPA Syncer, 2023/01/03
- [elpa] externals/compat b888c2fb49 53/84: Replace when-let with expansions in compat-29, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 59cd42a912 60/84: Generate test names without double-dashes, ELPA Syncer, 2023/01/03
- [elpa] externals/compat b0f8f6eaac 61/84: Remove realname for ntake, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 45028d9fa7 64/84: Merge branch 'master' into emacs-29.1, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 68c6ccd5cc 68/84: Always load compat-macs, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 54565a768c 73/84: Abbreviate Makefile by re-using BYTEC, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 661ba3a441 74/84: Use 'equal' instead of 'file-equal-p', ELPA Syncer, 2023/01/03
- [elpa] externals/compat 55080acac2 82/84: Preliminary bump the version tag to 29.1.0.0-dev, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 4bd1226048 59/84: Rewrite take to copy only as much as required, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 835b4301b4 62/84: Add 'pure' and 'side-effect-free' properties to take,
ELPA Syncer <=
- [elpa] externals/compat e7413bcf2b 63/84: Document additional missing functions from compat-29, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 7e4533ab45 65/84: Add compatibility notices to the end of the docstring, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 2ad7057293 70/84: Always load compat-macs.el while compiling, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 59e50fc7f4 71/84: Remove compat-macs.el from the list of files to byte-compile, ELPA Syncer, 2023/01/03
- [elpa] externals/compat a660d13326 75/84: Add while-let from Emacs 29, ELPA Syncer, 2023/01/03
- [elpa] externals/compat fcac0fa893 81/84: Update copyright years, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 8fbc3b6ea6 69/84: Bump to version 28.1.2.2, ELPA Syncer, 2023/01/03
- [elpa] externals/compat f42ebfaf97 35/84: Use compat--directory-name-p instead of directory-name-p, ELPA Syncer, 2023/01/03
- [elpa] externals/compat b98e7cc868 39/84: Fix gv-expander for compat-alist-get, ELPA Syncer, 2023/01/03
- [elpa] externals/compat 0e4da35d72 46/84: Add functions and macros from keymap.el, ELPA Syncer, 2023/01/03