Current File : //proc/thread-self/root/kunden/usr/share/emacs/27.2/lisp/obsolete/assoc.elc |
;ELC
;;; Compiled
;;; in Emacs version 27.2
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#@302 Move a specified key-value pair to the head of an alist.
The alist is referenced by ALIST-SYMBOL. Key-value pair to move to
head is one matching KEY. Returns the sorted list and doesn't affect
the order of any other key-value pair. Side effect sets alist to new
sorted list.
(fn ALIST-SYMBOL KEY)
(defalias 'asort #[514 "\300\301J!\302\303\304\305\306!\307\"\310\311%\"L\207" [sort copy-alist make-byte-code 514 "@\300\232\207" vconcat vector [] 4 "\n\n(fn A B)"] 11 (#$ . 409)])
#@169 Make a list of a cons cell containing car of KEY and cdr of VALUE.
The returned list is suitable for concatenating with an existing
alist, via `nconc'.
(fn KEY VALUE)
(defalias 'aelement #[514 "BC\207" [] 4 (#$ . 905)])
#@57 Return the key symbol at the head of ALIST.
(fn ALIST)
(defalias 'aheadsym #[257 "\211@@\207" [] 2 (#$ . 1134)])
#@351 Find out if a specified key-value pair is not at the head of an alist.
The alist to check is specified by ALIST and the key-value pair is the
one matching the supplied KEY. Returns nil if ALIST is nil, or if
key-value pair is at the head of the alist. Returns t if key-value
pair is not at the head of alist. ALIST is not altered.
(fn ALIST KEY)
(defalias 'anot-head-p #[514 "\300!\232?\207" [aheadsym] 4 (#$ . 1255)])
#@623 Insert a key-value pair into an alist.
The alist is referenced by ALIST-SYMBOL. The key-value pair is made
from KEY and optionally, VALUE. Returns the altered alist.
If the key-value pair referenced by KEY can be found in the alist, and
VALUE is supplied non-nil, then the value of KEY will be set to VALUE.
If VALUE is not supplied, or is nil, the key-value pair will not be
modified, but will be moved to the head of the alist. If the key-value
pair cannot be found in the alist, it will be inserted into the head
of the alist (with value nil if VALUE is nil or not supplied).
(fn ALIST-SYMBOL KEY &optional VALUE)
(defalias 'aput #[770 "\300\"\301\302\"\210J\262\211\204 L\2025 \303\"\203'