summaryrefslogtreecommitdiff
path: root/itches/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'itches/emacs')
-rw-r--r--itches/emacs/language-support.org8
-rw-r--r--itches/emacs/tracker.org4
2 files changed, 6 insertions, 6 deletions
diff --git a/itches/emacs/language-support.org b/itches/emacs/language-support.org
index d784f2b..8ec766e 100644
--- a/itches/emacs/language-support.org
+++ b/itches/emacs/language-support.org
@@ -21,7 +21,7 @@ E.g. ="an ${expression} that should be highlighted"=.
** Do not highlight single-quoted command substitutions
E.g. ='this $(call) should not be highlighted'=.
** Fix indentation on continuation lines
-#+BEGIN_SRC shell
+#+begin_src shell
# cf
# - electric-indent-post-self-insert-function
# - indent-according-to-mode
@@ -35,7 +35,7 @@ foo_bar \
indentisstill4
${foo}bar \
indentisfoobar
-#+END_SRC
+#+end_src
* Makefile
@@ -61,7 +61,7 @@ TeX-insert-quote erases the region and inserts =``= instead.
*** =catcode`$= starts a math environment
Minimal example:
-#+BEGIN_SRC latex
+#+begin_src latex
\documentclass{article}
\usepackage{fancyvrb}
@@ -84,7 +84,7 @@ Things decreased: \textcolor{green}{-49.22%} (514 $\searrow$ 261)
\end{Verbatim}
\end{document}
-#+END_SRC
+#+end_src
Can workaround it with =\catcode36= instead of =\catcode`$=.
*** saving does not add a final newline
diff --git a/itches/emacs/tracker.org b/itches/emacs/tracker.org
index 64317a0..ba198b0 100644
--- a/itches/emacs/tracker.org
+++ b/itches/emacs/tracker.org
@@ -46,7 +46,7 @@ First reported as [[https://github.com/dgutov/diff-hl/issues/142][dgutov/diff-hl
To make =C-x [0-9]= more accessible on AZERTY. Firefox does this, cf
[[https://hg.mozilla.org/mozilla-unified/file/FIREFOX_80_0_1_RELEASE/widget/gtk/nsGtkKeyUtils.cpp#l1207][here]]:
-#+begin_src c++
+#+begin_src cpp
// Retry with shifted keycode.
guint shiftState = (baseState | keymapWrapper->GetModifierMask(SHIFT));
uint32_t shiftedChar = keymapWrapper->GetCharCodeFor(aGdkKeyEvent, shiftState,
@@ -62,7 +62,7 @@ To make =C-x [0-9]= more accessible on AZERTY. Firefox does this, cf
and [[https://hg.mozilla.org/mozilla-unified/file/FIREFOX_80_0_1_RELEASE/widget/gtk/nsGtkKeyUtils.cpp#l1896][there]]:
-#+begin_src c++
+#+begin_src cpp
uint32_t KeymapWrapper::GetCharCodeFor(const GdkEventKey* aGdkKeyEvent,
guint aModifierState, gint aGroup) {
guint keyval;