git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] Documentation/technical/api-hashmap: Remove source highlighting

From
Anders Kaseorg <andersk@mit.edu>
Date
May 17, 2014, 11:08 UTC
Message-ID
<alpine.DEB.2.02.1405170707260.44324@all-night-tool.MIT.EDU>

The highlighting was pretty, but unfortunately, the failure mode when source-highlight is not installed was that the entire code block disappears. See https://bugs.debian.org/745591, https://bugs.launchpad.net/bugs/1316810.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
---
 Documentation/technical/api-hashmap.txt | 1 -
 1 file changed, 1 deletion(-)
diff --git a/Documentation/technical/api-hashmap.txt b/Documentation/technical/api-hashmap.txt
index 42ca234..b977ae8 100644
--- a/Documentation/technical/api-hashmap.txt
+++ b/Documentation/technical/api-hashmap.txt
@@ -166,7 +166,6 @@ Usage example
 -------------
 
 Here's a simple usage example that maps long keys to double values.
-[source,c]
 ------------
 struct hashmap map;
 
-- 
2.0.0.rc3
Next: Jeremiah Mahler
Message 1 of 6 in “Documentation/technical/api-hashmap: Remove source highlighting”
  1. Documentation/technical/api-hashmap: Remove source highlightingAnders Kaseorg, May 17, 2014
  2. Jeremiah MahlerMay 17, 2014
  3. Anders KaseorgMay 18, 2014
  4. Junio C HamanoMay 19, 2014
  5. Anders KaseorgMay 19, 2014
  6. Junio C HamanoMay 20, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.