branch: externals/dape commit a25b72ea7e8cddda83166a54c92e1f5b5f7a1d63 Author: Daniel Pettersson <dan...@dpettersson.net> Commit: Daniel Pettersson <dan...@dpettersson.net>
Respect intent of font-lock-mode in info and repl buffers --- dape.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dape.el b/dape.el index 370ba2b700..abd13a28a6 100644 --- a/dape.el +++ b/dape.el @@ -4242,14 +4242,11 @@ calls should continue. If NO-HANDLES is non nil skip + - handles." (setq name (propertize name 'font-lock-face 'font-lock-variable-name-face - 'face 'font-lock-variable-name-face 'mouse-face 'highlight 'help-echo "mouse-2: create or remove watch expression" 'keymap dape-info-variable-name-map) type - (propertize type - 'font-lock-face 'font-lock-type-face - 'face 'font-lock-type-face) + (propertize type 'font-lock-face 'font-lock-type-face) value (propertize value 'mouse-face 'highlight @@ -4526,7 +4523,8 @@ The search is done backwards from POINT. The line is marked with `( keymap ,(make-composed-keymap (list (plist-get props 'keymap) keymap)) font-lock-face ,(or (plist-get props 'font-lock-face) - (plist-get props 'face))) + (plist-get props 'face)) + face nil) str) finally return (propertize str