aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2004-12-13 19:34:46 +0000
committerRichard M. Stallman2004-12-13 19:34:46 +0000
commit8e2eba09792f72b4edb7bda311c4aaf0866f5cc8 (patch)
tree9c56bb4da279f98010a2fd6816680e5b17c0ca7f
parent6be44fbf5d4de2cbbeceea735739cd3ad0483a79 (diff)
downloademacs-8e2eba09792f72b4edb7bda311c4aaf0866f5cc8.tar.gz
emacs-8e2eba09792f72b4edb7bda311c4aaf0866f5cc8.zip
(elint-standard-variables, elint-unknown-builtin-args): Move definitions up.
-rw-r--r--lisp/emacs-lisp/elint.el158
1 files changed, 79 insertions, 79 deletions
diff --git a/lisp/emacs-lisp/elint.el b/lisp/emacs-lisp/elint.el
index bf9c1d39f95..9454bfc9da3 100644
--- a/lisp/emacs-lisp/elint.el
+++ b/lisp/emacs-lisp/elint.el
@@ -50,6 +50,85 @@
50 "*The buffer to insert lint messages in.") 50 "*The buffer to insert lint messages in.")
51 51
52;;; 52;;;
53;;; Data
54;;;
55
56(defconst elint-standard-variables
57 '(abbrev-mode auto-fill-function buffer-auto-save-file-name
58 buffer-backed-up buffer-display-count buffer-display-table buffer-display-time buffer-file-coding-system buffer-file-format
59 buffer-file-name buffer-file-number buffer-file-truename
60 buffer-file-type buffer-invisibility-spec buffer-offer-save
61 buffer-read-only buffer-saved-size buffer-undo-list
62 cache-long-line-scans case-fold-search ctl-arrow cursor-type comment-column
63 default-directory defun-prompt-regexp desktop-save-buffer enable-multibyte-characters fill-column fringes-outside-margins goal-column
64 header-line-format indicate-buffer-boundaries indicate-empty-lines
65 left-fringe-width
66 left-margin left-margin-width line-spacing local-abbrev-table local-write-file-hooks major-mode
67 mark-active mark-ring mode-line-buffer-identification
68 mode-line-format mode-line-modified mode-line-process mode-name
69 overwrite-mode
70 point-before-scroll right-fringe-width right-margin-width
71 scroll-bar-width scroll-down-aggressively scroll-up-aggressively selective-display
72 selective-display-ellipses tab-width truncate-lines vc-mode vertical-scroll-bar)
73 "Standard buffer local vars.")
74
75(defconst elint-unknown-builtin-args
76 '((while test &rest forms)
77 (insert-before-markers-and-inherit &rest text)
78 (catch tag &rest body)
79 (and &rest args)
80 (funcall func &rest args)
81 (insert &rest args)
82 (vconcat &rest args)
83 (run-hook-with-args hook &rest args)
84 (message-or-box string &rest args)
85 (save-window-excursion &rest body)
86 (append &rest args)
87 (logior &rest args)
88 (progn &rest body)
89 (insert-and-inherit &rest args)
90 (message-box string &rest args)
91 (prog2 x y &rest body)
92 (prog1 first &rest body)
93 (insert-before-markers &rest args)
94 (call-process-region start end program &optional delete
95 destination display &rest args)
96 (concat &rest args)
97 (vector &rest args)
98 (run-hook-with-args-until-success hook &rest args)
99 (track-mouse &rest body)
100 (unwind-protect bodyform &rest unwindforms)
101 (save-restriction &rest body)
102 (quote arg)
103 (make-byte-code &rest args)
104 (or &rest args)
105 (cond &rest clauses)
106 (start-process name buffer program &rest args)
107 (run-hook-with-args-until-failure hook &rest args)
108 (if cond then &rest else)
109 (apply function &rest args)
110 (format string &rest args)
111 (encode-time second minute hour day month year zone &rest args)
112 (min &rest args)
113 (logand &rest args)
114 (logxor &rest args)
115 (max &rest args)
116 (list &rest args)
117 (message string &rest args)
118 (defvar symbol init doc)
119 (call-process program &optional infile destination display &rest args)
120 (with-output-to-temp-buffer bufname &rest body)
121 (nconc &rest args)
122 (save-excursion &rest body)
123 (run-hooks &rest hooks)
124 (/ x y &rest zs)
125 (- x &rest y)
126 (+ &rest args)
127 (* &rest args)
128 (interactive &optional args))
129 "Those built-ins for which we can't find arguments.")
130
131;;;
53;;; ADT: top-form 132;;; ADT: top-form
54;;; 133;;;
55 134
@@ -724,85 +803,6 @@ If no documentation could be found args will be `unknown'."
724 (if list list 803 (if list list
725 (elint-find-builtins)))) 804 (elint-find-builtins))))
726 805
727;;;
728;;; Data
729;;;
730
731(defconst elint-standard-variables
732 '(abbrev-mode auto-fill-function buffer-auto-save-file-name
733 buffer-backed-up buffer-display-count buffer-display-table buffer-display-time buffer-file-coding-system buffer-file-format
734 buffer-file-name buffer-file-number buffer-file-truename
735 buffer-file-type buffer-invisibility-spec buffer-offer-save
736 buffer-read-only buffer-saved-size buffer-undo-list
737 cache-long-line-scans case-fold-search ctl-arrow cursor-type comment-column
738 default-directory defun-prompt-regexp desktop-save-buffer enable-multibyte-characters fill-column fringes-outside-margins goal-column
739 header-line-format indicate-buffer-boundaries indicate-empty-lines
740 left-fringe-width
741 left-margin left-margin-width line-spacing local-abbrev-table local-write-file-hooks major-mode
742 mark-active mark-ring mode-line-buffer-identification
743 mode-line-format mode-line-modified mode-line-process mode-name
744 overwrite-mode
745 point-before-scroll right-fringe-width right-margin-width
746 scroll-bar-width scroll-down-aggressively scroll-up-aggressively selective-display
747 selective-display-ellipses tab-width truncate-lines vc-mode vertical-scroll-bar)
748 "Standard buffer local vars.")
749
750(defconst elint-unknown-builtin-args
751 '((while test &rest forms)
752 (insert-before-markers-and-inherit &rest text)
753 (catch tag &rest body)
754 (and &rest args)
755 (funcall func &rest args)
756 (insert &rest args)
757 (vconcat &rest args)
758 (run-hook-with-args hook &rest args)
759 (message-or-box string &rest args)
760 (save-window-excursion &rest body)
761 (append &rest args)
762 (logior &rest args)
763 (progn &rest body)
764 (insert-and-inherit &rest args)
765 (message-box string &rest args)
766 (prog2 x y &rest body)
767 (prog1 first &rest body)
768 (insert-before-markers &rest args)
769 (call-process-region start end program &optional delete
770 destination display &rest args)
771 (concat &rest args)
772 (vector &rest args)
773 (run-hook-with-args-until-success hook &rest args)
774 (track-mouse &rest body)
775 (unwind-protect bodyform &rest unwindforms)
776 (save-restriction &rest body)
777 (quote arg)
778 (make-byte-code &rest args)
779 (or &rest args)
780 (cond &rest clauses)
781 (start-process name buffer program &rest args)
782 (run-hook-with-args-until-failure hook &rest args)
783 (if cond then &rest else)
784 (apply function &rest args)
785 (format string &rest args)
786 (encode-time second minute hour day month year zone &rest args)
787 (min &rest args)
788 (logand &rest args)
789 (logxor &rest args)
790 (max &rest args)
791 (list &rest args)
792 (message string &rest args)
793 (defvar symbol init doc)
794 (call-process program &optional infile destination display &rest args)
795 (with-output-to-temp-buffer bufname &rest body)
796 (nconc &rest args)
797 (save-excursion &rest body)
798 (run-hooks &rest hooks)
799 (/ x y &rest zs)
800 (- x &rest y)
801 (+ &rest args)
802 (* &rest args)
803 (interactive &optional args))
804 "Those built-ins for which we can't find arguments.")
805
806(provide 'elint) 806(provide 'elint)
807 807
808;;; arch-tag: b2f061e2-af84-4ddc-8e39-f5e969ac228f 808;;; arch-tag: b2f061e2-af84-4ddc-8e39-f5e969ac228f