comparison lisp/progmodes/cwarn.el @ 40159:c302267b48cd

(cwarn-font-lock-feature-keywords-alist): Use `sexp' for :value-type instead of `face'.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 21 Oct 2001 22:44:13 +0000
parents b174db545cfd
children 6bfa4dcc106e
comparison
equal deleted inserted replaced
40158:6dde35eb48f7 40159:c302267b48cd
1 ;;; cwarn.el --- highlight suspicious C and C++ constructions 1 ;;; cwarn.el --- highlight suspicious C and C++ constructions
2 2
3 ;; Copyright (C) 1999, 2000 Free Software Foundation, Inc. 3 ;; Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
4 4
5 ;; Author: Anders Lindgren <andersl@andersl.com> 5 ;; Author: Anders Lindgren <andersl@andersl.com>
6 ;; Keywords: c, languages, faces 6 ;; Keywords: c, languages, faces
7 ;; X-Url: http://www.andersl.com/emacs 7 ;; X-Url: http://www.andersl.com/emacs
8 ;; Version: 1.3.1 1999-12-13 8 ;; Version: 1.3.1 1999-12-13
166 If it is a symbol it is assumed to be a variable containing a font-lock 166 If it is a symbol it is assumed to be a variable containing a font-lock
167 keyword list." 167 keyword list."
168 :type '(alist :key-type (choice (const assign) 168 :type '(alist :key-type (choice (const assign)
169 (const semicolon) 169 (const semicolon)
170 (const reference)) 170 (const reference))
171 :value-type face) 171 :value-type (sexp :tag "Value"))
172 :group 'cwarn) 172 :group 'cwarn)
173 173
174 (defcustom cwarn-verbose t 174 (defcustom cwarn-verbose t
175 "*When nil, CWarn mode will not generate any messages. 175 "*When nil, CWarn mode will not generate any messages.
176 176