fordon_greeman / voidfiles

Branch: main
Switch branches/tags
main
theidioticdev add emacs 2079ec5 20h ago
112 lines · 3.7 KB Raw Blame History
1 ;;; llama-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*-
2 ;; Generated by the `loaddefs-generate' function.
3
4 ;; This file is part of GNU Emacs.
5
6 ;;; Code:
7
8 (add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path)))
9
10
11
12 ;;; Generated autoloads from llama.el
13
14 (autoload 'llama "llama"
15 "Expand to a `lambda' expression that wraps around FN and BODY.
16
17 This macro provides a compact way to write short `lambda' expressions.
18 It expands to a `lambda' expression, which calls the function FN with
19 arguments BODY and returns its value. The arguments of the `lambda'
20 expression are derived from symbols found in BODY.
21
22 Each symbol from `%1' through `%9', which appears in an unquoted part
23 of BODY, specifies a mandatory argument. Each symbol from `&1' through
24 `&9', which appears in an unquoted part of BODY, specifies an optional
25 argument. The symbol `&*' specifies extra (`&rest') arguments.
26
27 The shorter symbol `%' can be used instead of `%1', but using both in
28 the same expression is not allowed. Likewise `&' can be used instead
29 of `&1'. These shorthands are not recognized in function position.
30
31 To support binding forms that use a vector as VARLIST (such as `-let'
32 from the `dash' package), argument symbols are also detected inside of
33 vectors.
34
35 The space between `##' and FN can be omitted because `##' is read-syntax
36 for the symbol whose name is the empty string. If you prefer you can
37 place a space there anyway, and if you prefer to not use this somewhat
38 magical symbol at all, you can instead use the alternative name `llama'.
39
40 Instead of:
41
42 (lambda (a &optional _ c &rest d)
43 (foo a (bar c) d))
44
45 you can use this macro and write:
46
47 (##foo %1 (bar &3) &*)
48
49 which expands to:
50
51 (lambda (%1 &optional _&2 &3 &rest &*)
52 (foo %1 (bar &3) &*))
53
54 Unused trailing arguments and mandatory unused arguments at the border
55 between mandatory and optional arguments are also supported:
56
57 (##list %1 _%3 &5 _&6)
58
59 becomes:
60
61 (lambda (%1 _%2 _%3 &optional _&4 &5 _&6)
62 (list %1 &5))
63
64 Note how `_%3' and `_&6' are removed from the body, because their names
65 begin with an underscore. Also note that `_&4' is optional, unlike the
66 explicitly specified `_%3'.
67
68 Consider enabling `llama-fontify-mode' to highlight `##' and its
69 special arguments.
70
71 (fn FN &rest BODY)" nil t)
72 (defvar llama-fontify-mode nil
73 "Non-nil if Llama-Fontify mode is enabled.
74 See the `llama-fontify-mode' command
75 for a description of this minor mode.
76 Setting this variable directly does not take effect;
77 either customize it (see the info node `Easy Customization')
78 or call the function `llama-fontify-mode'.")
79 (custom-autoload 'llama-fontify-mode "llama" nil)
80 (autoload 'llama-fontify-mode "llama"
81 "In Emacs Lisp mode, highlight the `##' macro and its special arguments.
82
83 This is a global minor mode. If called interactively, toggle the
84 `Llama-Fontify mode' mode. If the prefix argument is positive, enable
85 the mode, and if it is zero or negative, disable the mode.
86
87 If called from Lisp, toggle the mode if ARG is `toggle'. Enable the
88 mode if ARG is nil, omitted, or is a positive number. Disable the mode
89 if ARG is a negative number.
90
91 To check whether the minor mode is enabled in the current buffer,
92 evaluate `(default-value \\='llama-fontify-mode)'.
93
94 The mode's hook is called both when the mode is enabled and when it is
95 disabled.
96
97 (fn &optional ARG)" t)
98 (register-definition-prefixes "llama" '("##" "all-completions" "elisp-" "intern" "lisp--el-match-keyword@llama" "llama-"))
99
100 ;;; End of scraped data
101
102 (provide 'llama-autoloads)
103
104 ;; Local Variables:
105 ;; version-control: never
106 ;; no-byte-compile: t
107 ;; no-update-autoloads: t
108 ;; no-native-compile: t
109 ;; coding: utf-8-emacs-unix
110 ;; End:
111
112 ;;; llama-autoloads.el ends here