/[emacs]/emacs/lisp/emacs-lisp/elint.el
ViewVC logotype

Diff of /emacs/lisp/emacs-lisp/elint.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by pj, Sat Dec 22 13:37:30 2001 UTC revision 1.5.4.1 by miles, Fri Apr 4 06:20:16 2003 UTC
# Line 609  CODE can be a lambda expression, a macro Line 609  CODE can be a lambda expression, a macro
609  ;; to reflect different seriousness of linting errors  ;; to reflect different seriousness of linting errors
610    
611  (defun elint-error (string &rest args)  (defun elint-error (string &rest args)
612    "Report an linting error.    "Report a linting error.
613  STRING and ARGS are thrown on `format' to get the message."  STRING and ARGS are thrown on `format' to get the message."
614    (let ((errstr (apply 'format string args)))    (let ((errstr (apply 'format string args)))
615      (elint-log-message errstr)      (elint-log-message errstr)
616      ))      ))
617    
618  (defun elint-warning (string &rest args)  (defun elint-warning (string &rest args)
619    "Report an linting warning.    "Report a linting warning.
620  STRING and ARGS are thrown on `format' to get the message."  STRING and ARGS are thrown on `format' to get the message."
621    (let ((errstr (apply 'format string args)))    (let ((errstr (apply 'format string args)))
622      (elint-log-message errstr)      (elint-log-message errstr)

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.5.4.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26