From: Glenn Morris Date: Wed, 22 May 2013 03:16:05 +0000 (-0700) Subject: * progmodes/idlw-help.el (idlwave-help-fontify): Use called-interactively-p. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~229^2~7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b1b7f300fa77d838cfdf47bfc65bfd1c5808d966;p=emacs.git * progmodes/idlw-help.el (idlwave-help-fontify): Use called-interactively-p. --- 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