On 2016-08-07 05:11, Andreas Schwab wrote: > Clément Pit--Claudel writes: > >> In Emacs Lisp mode, the last two backslashes in the string "\\[\\]" are highlighted with (font-lock-constant-face font-lock-string-face). Is this expected? > > ;; Words inside \\[] tend to be for `substitute-command-keys'. > (,(concat "\\\\\\\\\\[\\(" lisp-mode-symbol-regexp "\\)\\]") Thanks Andreas! Should this regexp be conditional on being in a docstring? Otherwise please feel free to close as notabug :) Clément.