From b1b7f300fa77d838cfdf47bfc65bfd1c5808d966 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 21 May 2013 20:16:05 -0700 Subject: [PATCH] * progmodes/idlw-help.el (idlwave-help-fontify): Use called-interactively-p. --- lisp/ChangeLog | 3 +++ lisp/progmodes/idlw-help.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4b21f922f36..d7b7bccc660 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2013-05-22 Glenn Morris + * progmodes/idlw-help.el (idlwave-help-fontify): + Use called-interactively-p. + * term/w32console.el (w32-get-console-codepage) (w32-get-console-output-codepage): Declare. diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el index b46b16aa87e..7060cae5080 100644 --- a/lisp/progmodes/idlw-help.el +++ b/lisp/progmodes/idlw-help.el @@ -1178,7 +1178,7 @@ 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)) + (if (called-interactively-p 'interactive) font-lock-verbose nil)) (syntax-table (syntax-table))) (unwind-protect (progn -- 2.39.2