* [PATCH] Documentation: coding-style: Update syntax highlighting for code-blocks
@ 2024-02-03 22:39 Thorsten Blum
2024-02-05 17:22 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Blum @ 2024-02-03 22:39 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: workflows, linux-doc, linux-kernel, Thorsten Blum
Use c and elisp instead of none in code-blocks
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
---
Documentation/process/coding-style.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/process/coding-style.rst b/Documentation/process/coding-style.rst
index c48382c6b477..a75c7044d8b7 100644
--- a/Documentation/process/coding-style.rst
+++ b/Documentation/process/coding-style.rst
@@ -203,7 +203,7 @@ Do not unnecessarily use braces where a single statement will do.
and
-.. code-block:: none
+.. code-block:: c
if (condition)
do_this();
@@ -660,7 +660,7 @@ make a good program).
So, you can either get rid of GNU emacs, or change it to use saner
values. To do the latter, you can stick the following in your .emacs file:
-.. code-block:: none
+.. code-block:: elisp
(defun c-lineup-arglist-tabs-only (ignored)
"Line up argument lists by tabs, not spaces"
--
2.39.2
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] Documentation: coding-style: Update syntax highlighting for code-blocks
2024-02-03 22:39 [PATCH] Documentation: coding-style: Update syntax highlighting for code-blocks Thorsten Blum
@ 2024-02-05 17:22 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2024-02-05 17:22 UTC (permalink / raw)
To: Thorsten Blum; +Cc: workflows, linux-doc, linux-kernel, Thorsten Blum
Thorsten Blum <thorsten.blum@toblux.com> writes:
> Use c and elisp instead of none in code-blocks
>
> Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
> ---
> Documentation/process/coding-style.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/process/coding-style.rst b/Documentation/process/coding-style.rst
> index c48382c6b477..a75c7044d8b7 100644
> --- a/Documentation/process/coding-style.rst
> +++ b/Documentation/process/coding-style.rst
> @@ -203,7 +203,7 @@ Do not unnecessarily use braces where a single statement will do.
>
> and
>
> -.. code-block:: none
> +.. code-block:: c
>
> if (condition)
> do_this();
> @@ -660,7 +660,7 @@ make a good program).
> So, you can either get rid of GNU emacs, or change it to use saner
> values. To do the latter, you can stick the following in your .emacs file:
>
> -.. code-block:: none
> +.. code-block:: elisp
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-05 17:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-03 22:39 [PATCH] Documentation: coding-style: Update syntax highlighting for code-blocks Thorsten Blum
2024-02-05 17:22 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox