]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/cwarn.el
Update copyright year to 2016
[gnu-emacs] / lisp / progmodes / cwarn.el
index 39cd0e1a44b54717dad63f89b52319d2e745bd31..6c800ab2512c5d637a1a82a8d9746da8eccd8376 100644 (file)
@@ -1,10 +1,9 @@
 ;;; cwarn.el --- highlight suspicious C and C++ constructions
 
-;; Copyright (C) 1999-2015 Free Software Foundation, Inc.
+;; Copyright (C) 1999-2016 Free Software Foundation, Inc.
 
-;; Author: Anders Lindgren <andersl@andersl.com>
+;; Author: Anders Lindgren
 ;; Keywords: c, languages, faces
-;; X-Url: http://www.andersl.com/emacs
 ;; Version: 1.3.1
 
 ;; This file is part of GNU Emacs.
@@ -188,7 +187,7 @@ and disable it otherwise.  If called from Lisp, enable the mode
 if ARG is omitted or nil."
   :group 'cwarn :lighter cwarn-mode-text
   (cwarn-font-lock-keywords cwarn-mode)
-  (if font-lock-mode (font-lock-fontify-buffer)))
+  (font-lock-flush))
 
 ;;;###autoload
 (define-obsolete-function-alias 'turn-on-cwarn-mode 'cwarn-mode "24.1")