* Doc string of editorconfig-indent-size-vars needs some improvements
@ 2024-06-22 6:09 Eli Zaretskii
0 siblings, 0 replies; only message in thread
From: Eli Zaretskii @ 2024-06-22 6:09 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
It is quite obscure:
(defvar editorconfig-indent-size-vars
#'editorconfig--default-indent-size-function
"Rule to use to set a given `indent_size'.
Can take the form of a function, in which case we call it with a single SIZE
argument (an integer) and it should return a list of (VAR . VAL) pairs.
Otherwise it can be a list of symbols (those which should be set to SIZE).
Major modes are expected to set this buffer-locally.")
It should explain how will the VAR/VAL pairs be used for indentation.
It should also tell what is SIZE (one could guess, but why should one?).
Thanks.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-06-22 6:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-22 6:09 Doc string of editorconfig-indent-size-vars needs some improvements Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.