This answer is just a slight modification of Lindydancer's answer in the following link: https://emacs.stackexchange.com/a/20228/2287
It has been modified to highlight a double-quoted name -- e.g., ;; Hello "James Bond".
The major-mode is emacs-lisp-mode
.
(defface drobnbobn-face
'((t (:background "black" :foreground "red")))
"Face for `drobnbobn-face'.")
(defvar drobnbobn-face 'drobnbobn-face)
(defun my-highlight-symbol-font-lock-keywords-matcher (limit)
"Search for doubled-quoted things in comments.
Match group 0 is the entire construct, 1 the symbol."
(let (res)
(while
(and (setq res (re-search-forward "\"\\([a-zA-Z0-9\s_-]+\\)\"" limit t))
(not (nth 4 (syntax-ppss))))) ; Continue, unless in a comment
res))
(defun my-highlight-symbol-activate ()
"Highlight double-quoted things in comments."
(font-lock-add-keywords nil
'((my-highlight-symbol-font-lock-keywords-matcher
(1 drobnbobn-face prepend)))))
(add-hook 'emacs-lisp-mode-hook #'my-highlight-symbol-activate)