From e85bb766d722e1c7b4d941404cec4e315d607810 Mon Sep 17 00:00:00 2001 From: tastytea Date: Fri, 27 Mar 2020 16:44:58 +0100 Subject: [PATCH] Emacs: Highlight code blocks in doxygen comments. --- init.d/programming/c++.el | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/init.d/programming/c++.el b/init.d/programming/c++.el index e391e34..65732b1 100644 --- a/init.d/programming/c++.el +++ b/init.d/programming/c++.el @@ -1,6 +1,6 @@ ;;; c++.el --- C++ settings. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-03-27T13:52:06+0100> +;; Time-stamp: <2020-03-27T16:43:49+0100> ;;; Commentary: @@ -49,11 +49,8 @@ :custom-face (highlight-doxygen-comment ((t (:inherit font-lock-comment-face :foreground "#667788")))) - (highlight-doxygen-code-block ((t (:inherit highlight-doxygen-comment-face)))) - - :hook - (prog-mode . highlight-doxygen-mode) - ) + (highlight-doxygen-code-block ((t (nil)))) ; Disable background-color. + :hook (prog-mode . highlight-doxygen-mode)) ;; Set coding style. (use-package cc-mode