+2007-12-11 Glenn Morris <rgm@gnu.org>
+
+ * emacs-lisp/check-declare.el (check-declare-verify): Handle deffoo.
+
2007-12-11 Jay Belanger <jay.p.belanger@gmail.com>
* calc/calc-lang.el (math-lang-name): New property name.
;;; TODO:
+;; 1. Warn about functions marked as obsolete, eg
+;; password-read-and-add in smime.el.
+
;;; Code:
(defconst check-declare-warning-buffer "*Check Declarations Warnings*"
;; defsubst's don't _have_ to be known at compile time.
(setq re (format (if cflag
"^[ \t]*\\(DEFUN\\)[ \t]*([ \t]*\"%s\""
- "^[ \t]*(\\(fset[ \t]+'\\|def\\(?:un\\|subst\\|\
+ "^[ \t]*(\\(fset[ \t]+'\\|\
+def\\(?:un\\|subst\\|foo\\|\
ine-\\(?:derived\\|generic\\|\\(?:global\\(?:ized\\)?-\\)?minor\\)-mode\
\\|\\(?:ine-obsolete-function-\\)?alias[ \t]+'\\)\\)\
\[ \t]*%s\\([ \t;]+\\|$\\)")