Current File : //proc/self/root/kunden/kunden/proc/thread-self/root/usr/share/emacs/27.2/lisp/ibuf-macs.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.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#@251 Evaluate TRUE-BODY or FALSE-BODY depending on value of TEST.
If TEST returns non-nil, bind `it' to the value, and evaluate
TRUE-BODY. Otherwise, evaluate forms in FALSE-BODY as if in `progn'.
Compare with `if'.
(fn TEST TRUE-BODY &rest FALSE-BODY)
(defalias 'ibuffer-aif '(macro . #[642 "\300\301!\302DC\303\302\304DCE\305BFE\207" [make-symbol "ibuffer-aif-sym" let if it progn] 11 (#$ . 409)]))
(byte-code "\300\301\302\303#\300\207" [function-put ibuffer-aif lisp-indent-function 2] 4)
#@130 Evaluate BODY if TEST returns non-nil.
During evaluation of body, bind `it' to the value returned by TEST.
(fn TEST &rest BODY)
(defalias 'ibuffer-awhen '(macro . #[385 "\300\301B\302BBB\207" [ibuffer-aif progn (nil)] 6 (#$ . 915)]))
(byte-code "\300\301\302\303#\300\207" [function-put ibuffer-awhen lisp-indent-function 1] 4)
#@89 Save the marked status of the buffers and execute BODY; restore marks.
(fn &rest BODY)
(defalias 'ibuffer-save-marks '(macro . #[128 "\300\301!\302\303B\304B\305\306\307BD\310\311BBEE\207" [make-symbol "bufsym" let ((current-buffer)) ((ibuffer-save-marks-tmp-mark-list (ibuffer-current-state-list))) unwind-protect progn save-excursion with-current-buffer ((ibuffer-redisplay-engine (delq nil (mapcar #'(lambda (e) (when (buffer-live-p (car e)) e)) ibuffer-save-marks-tmp-mark-list))) (ibuffer-redisplay t))] 9 (#$ . 1252)]))
(byte-code "\300\301\302\303#\300\207" [function-put ibuffer-save-marks lisp-indent-function 0] 4)
#@1046 Define a column SYMBOL for use with `ibuffer-formats'.
BODY will be called with `buffer' bound to the buffer object, and
`mark' bound to the current mark on the buffer. The original ibuffer
buffer will be bound to `ibuffer-buf'.
If NAME is given, it will be used as a title for the column.
Otherwise, the title will default to a capitalized version of the
SYMBOL's name. PROPS is a plist of additional properties to add to
the text, such as `mouse-face'. And SUMMARIZER, if given, is a
function which will be passed a list of all the strings in its column;
it should return a string to display at the bottom.
If HEADER-MOUSE-MAP is given, it will be used as a keymap for the
title of the column.
Note that this macro expands into a `defun' for a function named
ibuffer-make-column-NAME. If INLINE is non-nil, then the form will be
inlined into the compiled format versions. This means that if you
change its definition, you should explicitly call
`ibuffer-recompile-formats'.
(fn SYMBOL (&key NAME INLINE PROPS SUMMARIZER) &rest BODY)
(defalias 'define-ibuffer-column '(macro . #[385 "\211\203
\211A\262\242\202 \300\301\302GD\"\303\304\"A@\303\305\"A@\303\306\"A@\303\307\"A@\303\310\"A@\211\203^ \211@\311>\203F \211AA\262\2023 \312>A@\203U \313\262\2023 \314\315@\"\210\2023 \210\316\317\320\n!P!\321\322 BB\203z \323BB\202{ \211\324\203\215 \325\326DD\327BB\202\224 \330\331\332\257\333\326D\334\f;\203\245 \f\202\253 \335\320!!F\205\272 \333\326D\336 F\205\312 \333\326D\337\326\fDF \205\327 \333\326 D\340BB\341BBBBBB\266\203\207" [signal wrong-number-of-arguments define-ibuffer-column plist-member :name :inline :props :summarizer :header-mouse-map (:name :inline :props :summarizer :header-mouse-map :allow-other-keys) :allow-other-keys nil error "Keyword argument %s not one of (:name :inline :props :summarizer :header-mouse-map)" intern "ibuffer-make-column-" symbol-name with-current-buffer buffer propertize progn push quote (ibuffer-inline-columns) defun (buffer mark) (ignore mark) put 'ibuffer-column-name capitalize 'header-mouse-map 'ibuffer-column-summarizer ('ibuffer-column-summary nil) (:autoload-end)] 20 (#$ . 1890)]))
(byte-code "\300\301\302\303#\300\207" [function-put define-ibuffer-column lisp-indent-function defun] 4)
#@444 Define a method of sorting named NAME.
DOCUMENTATION is the documentation of the function, which will be called
`ibuffer-do-sort-by-NAME'.
DESCRIPTION is a short string describing the sorting method.
For sorting, the forms in BODY will be evaluated with `a' bound to one
buffer object, and `b' bound to another. BODY should return a non-nil
value if and only if `a' is "less than" `b'.
(fn NAME DOCUMENTATION (&key DESCRIPTION) &rest BODY)
(defalias 'define-ibuffer-sorter '(macro . #[642 "\211\203
\211A\262\242\202 \300\301\302GD\"\303\304\"A@\211\203E \211@\305>\203. \211AA\262\202 \306>A@\203<