summaryrefslogtreecommitdiff
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2025-01-14 00:16:40 +0100
committerStefan Kangas <stefankangas@gmail.com>2025-01-14 00:16:40 +0100
commit383de5c3f6f1ca7c8da7450d6e1716b43e9d2020 (patch)
tree0ec1c0c1bf4f29387d6361bdc6f0073378344d7d /src/minibuf.c
parentf0e63558bd3dfd9e57cacfba8690f9dd29774947 (diff)
downloademacs-383de5c3f6f1ca7c8da7450d6e1716b43e9d2020.tar.gz
emacs-383de5c3f6f1ca7c8da7450d6e1716b43e9d2020.tar.bz2
emacs-383de5c3f6f1ca7c8da7450d6e1716b43e9d2020.zip
Prefer calln to CALLN where applicable
* src/callint.c (read_file_name): * src/comp.c (CALL0I, CALL1I, CALL2I, CALL4I, declare_imported_func): * src/data.c (Ffset, notify_variable_watchers): * src/eval.c (Ffuncall_with_delayed_message): * src/keymap.c (Fdescribe_buffer_bindings): * src/minibuf.c (Fread_buffer, Fcompleting_read): * src/pdumper.c (Fdump_emacs_portable): * src/print.c (print_vectorlike_unreadable): * src/treesit.c (treesit_traverse_match_predicate) (treesit_build_sparse_tree): Prefer calln to CALLN.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index bbbc4399ab0..b74e5221420 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1553,8 +1553,7 @@ function, instead of the usual behavior. */)
STRING_MULTIBYTE (prompt));
}
- prompt = CALLN (Ffuncall, Qformat_prompt,
- prompt,
+ prompt = calln (Qformat_prompt, prompt,
CONSP (def) ? XCAR (def) : def);
}
@@ -2040,8 +2039,7 @@ Completion ignores case if the ambient value of
See also `completing-read-function'. */)
(Lisp_Object prompt, Lisp_Object collection, Lisp_Object predicate, Lisp_Object require_match, Lisp_Object initial_input, Lisp_Object hist, Lisp_Object def, Lisp_Object inherit_input_method)
{
- return CALLN (Ffuncall,
- Fsymbol_value (Qcompleting_read_function),
+ return calln (Fsymbol_value (Qcompleting_read_function),
prompt, collection, predicate, require_match, initial_input,
hist, def, inherit_input_method);
}