[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/prefixed-core 6051ebf 1/3: Add alist aliases
From: |
Stefan Monnier |
Subject: |
[elpa] externals/prefixed-core 6051ebf 1/3: Add alist aliases |
Date: |
Wed, 13 May 2020 11:39:11 -0400 (EDT) |
branch: externals/prefixed-core
commit 6051ebf4788800955b33d7aea12beba3dfb1457e
Author: Philippe Vaucher <address@hidden>
Commit: Philippe Vaucher <address@hidden>
Add alist aliases
---
prefixed-core.el | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/prefixed-core.el b/prefixed-core.el
index 8ec8021..9368acc 100644
--- a/prefixed-core.el
+++ b/prefixed-core.el
@@ -109,5 +109,16 @@
(defalias 're-submatch-p #'match-beginning
"Return non-nil if SUBEXP did match.")
+;; alist
+(defalias 'alist-assoc #'assoc)
+(defalias 'alist-rassoc #'rassoc)
+(defalias 'alist-assq #'assq)
+(defalias 'alist-rassq #'rassq)
+(defalias 'alist-assoc-default #'assoc-default)
+(defalias 'alist-copy #'copy-alist)
+(defalias 'alist-assq-delete-all #'assq-delete-all)
+(defalias 'alist-assoc-delete-all #'assoc-delete-all)
+(defalias 'alist-rassq-delete-all #'rassq-delete-all)
+
(provide 'prefixed-core)
;;; prefixed-core.el ends here