branch: externals/idlwave commit e537821a98ab028088612afdad60de78530e68a0 Author: JD Smith <jdtsm...@gmail.com> Commit: JD Smith <jdtsm...@gmail.com>
Help buffer not fontifying: fixed. --- idlw-help.el | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/idlw-help.el b/idlw-help.el index 609fffa739..4c57980d4f 100644 --- a/idlw-help.el +++ b/idlw-help.el @@ -1153,16 +1153,11 @@ Useful when source code is displayed as help. See the option (if (featurep 'font-lock) (let ((major-mode 'idlwave-mode) (font-lock-verbose - (if (interactive-p) font-lock-verbose nil)) - (syntax-table (syntax-table))) - (unwind-protect - (progn - (set-syntax-table idlwave-mode-syntax-table) - (set (make-local-variable 'font-lock-defaults) - idlwave-font-lock-defaults) - (font-lock-fontify-buffer)) - (set-syntax-table syntax-table))))) - + (if (interactive-p) font-lock-verbose nil))) + (set-syntax-table idlwave-mode-syntax-table) + (set (make-local-variable 'font-lock-defaults) + idlwave-font-lock-defaults) + (font-lock-fontify-buffer)))) (defun idlwave-help-error (name type class keyword) (error "Can't find help on %s%s %s"