summaryrefslogtreecommitdiff
path: root/itches/emacs/tracker.org
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2020-10-01 22:50:54 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2020-10-01 22:50:54 +0200
commit50aef4a8e2b6a53c12febf3728dfd0587915d248 (patch)
treead8596f62ac86982a9cfe2194e456a06c59d07a2 /itches/emacs/tracker.org
parent1412f919f69e08a1cf430b114109917bfb06ad18 (diff)
downloadmemory-leaks-50aef4a8e2b6a53c12febf3728dfd0587915d248.tar.xz
Fix C++ highlighting
Weirdly enough, "c++" works with markdown files but not with org files, where only "cpp" works. While in there, make all tags lowercase for consistency. This is what org-insert-structure-template generates.
Diffstat (limited to 'itches/emacs/tracker.org')
-rw-r--r--itches/emacs/tracker.org4
1 files changed, 2 insertions, 2 deletions
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;