From: chuntaro Date: Tue, 2 Feb 2021 09:18:28 +0000 (+0100) Subject: Fix |# fontification in lisp-mode X-Git-Tag: emacs-28.0.90~3970 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a2de694d8aa144ba1261a3c9a488d76f7cfa6728;p=emacs.git Fix |# fontification in lisp-mode * lisp/emacs-lisp/lisp-mode.el (lisp-mode): Give the |# the correct (font-lock-comment-delimited-face) face (bug#39820). Copyright-paperwork-exempt: yes --- diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index c96d849d442..398cb76ac71 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el @@ -775,6 +775,7 @@ or to switch back to an existing one." (setq-local find-tag-default-function 'lisp-find-tag-default) (setq-local comment-start-skip "\\(\\(^\\|[^\\\n]\\)\\(\\\\\\\\\\)*\\)\\(;+\\|#|\\) *") + (setq-local font-lock-comment-end-skip "|#") (setq imenu-case-fold-search t)) (defun lisp-find-tag-default ()