%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/emacs-lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/emacs-lisp/checkdoc.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@56 Release version of checkdoc you are currently running. (defvar checkdoc-version "0.6.2" (#$ . 408)) (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\305\306\307\310\311\312\313\314\315\316& \210\317\320\321\322\323DD\324\325\326\315\327&\210\317\330\321\322\331DD\332\325\333%\210\317\334\321\322\335DD\336\325\337%\210\317\340\321\322\341DD\342\325\337%\210\317\343\321\322\344DD\345\325\337%\210\317\346\321\322\347DD\350\325\337%\210\317\351\321\322\352DD\353\325\354%\207" [require cl-lib help-mode thingatpt lisp-mnt custom-declare-group checkdoc nil "Support for doc string checking in Emacs Lisp." :prefix "checkdoc" :group lisp :version "20.3" custom-declare-variable checkdoc-minor-mode-string funcall function #[0 "\300\207" [#1=" CDoc"] 1 #1#] "String to display in mode line when Checkdoc mode is enabled; nil for none." :type (choice string (const :tag "None" nil)) "23.1" checkdoc-autofix-flag #[0 "\300\207" [semiautomatic] 1] "Non-nil means attempt auto-fixing of doc strings.\nIf this value is the symbol `query', then the user is queried before\nany change is made. If the value is `automatic', then all changes are\nmade without asking unless the change is very complex. If the value\nis `semiautomatic' or any other value, then simple fixes are made\nwithout asking, and complex changes are made by asking the user first.\nThe value `never' is the same as nil, never ask or change anything." (choice (const automatic) (const query) (const never) (other :tag "semiautomatic" semiautomatic)) checkdoc-bouncy-flag #[0 "\300\207" [t] 1] "Non-nil means to \"bounce\" to auto-fix locations.\nSetting this to nil will silently make fixes that require no user\ninteraction. See `checkdoc-autofix-flag' for auto-fixing details." boolean checkdoc-force-docstrings-flag #[0 "\300\207" [t] 1] "Non-nil means that all checkable definitions should have documentation.\nStyle guide dictates that interactive functions MUST have documentation,\nand that it's good but not required practice to make non user visible items\nhave doc strings." checkdoc-force-history-flag #[0 "\300\207" [nil] 1] "Non-nil means that files should have a History section or ChangeLog file.\nThis helps document the evolution of, and recent changes to, the package." checkdoc-permit-comma-termination-flag #[0 "\300\207" [nil] 1] "Non-nil means the first line of a docstring may end with a comma.\nOrdinarily, a full sentence is required. This may be misleading when\nthere is a substantial caveat to the one-line description -- the comma\nshould be used when the first part could stand alone as a sentence, but\nit indicates that a modifying clause follows." checkdoc-spellcheck-documentation-flag #[0 "\300\207" [nil] 1] "Non-nil means run Ispell on text based on value.\nThis is automatically set to nil if Ispell does not exist on your\nsystem. Possible values are:\n\n nil - Don't spell-check during basic style checks.\n defun - Spell-check when style checking a single defun.\n buffer - Spell-check when style checking the whole buffer.\n interactive - Spell-check during any interactive check.\n t - Always spell-check." (choice (const nil) (const defun) (const buffer) (const interactive) (const t))] 10) #@72 List of words that are correct when spell-checking Lisp documentation. (defvar checkdoc-ispell-lisp-words '("alist" "emacs" "etags" "keymap" "paren" "regexp" "sexp" "xemacs") (#$ . 3665)) (byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\313\314\306\315&\210\300\316\302\303\317DD\320\313\321\306\315&\210\322\323\324\325#\210\326\211\203R \211@\323N\203K \324N\204K \327\324\323N#\210A\266\202\2021 \210\330\323\324\331#\207" [custom-declare-variable checkdoc-max-keyref-before-warn funcall function #[0 "\300\207" [10] 1] "The number of \\ [command-to-keystroke] tokens allowed in a doc string.\nAny more than this and a warning is generated suggesting that the construct\n\\ {keymap} be used instead." :type integer checkdoc-arguments-in-order-flag #[0 "\300\207" [nil] 1] "Non-nil means warn if arguments appear out of order.\nSetting this to nil will mean only checking that all the arguments\nappear in the proper form in the documentation, not that they are in\nthe same order as they appear in the argument list. No mention is\nmade in the style guide relating to order." :version "26.1" boolean checkdoc-package-keywords-flag #[0 "\300\207" [nil] 1] "Non-nil means warn if this file's package keywords are not recognized.\nCurrently, all recognized keywords must be on `finder-known-keywords'." "25.1" defvaralias checkdoc-style-hooks checkdoc-style-functions nil (saved-value saved-variable-comment) put make-obsolete-variable "24.3"] 8) #@358 Hook run after the standard style check is completed. All functions must return nil or a string representing the error found. Useful for adding new user implemented commands. Each hook is called with two parameters, (DEFUNINFO ENDPOINT). DEFUNINFO is the return value of `checkdoc-defun-info'. ENDPOINT is the location of end of the documentation string. (defvar checkdoc-style-functions nil (#$ . 5156)) (byte-code "\300\301\302\303#\210\304\211\203( \211@\301N\203! \302N\204! \305\302\301N#\210A\266\202\202 \210\306\301\302\307#\207" [defvaralias checkdoc-comment-style-hooks checkdoc-comment-style-functions nil (saved-value saved-variable-comment) put make-obsolete-variable "24.3"] 7) #@196 Hook run after the standard comment style check is completed. Must return nil if no errors are found, or a string describing the problem discovered. This is useful for adding additional checks. (defvar checkdoc-comment-style-functions nil (#$ . 5863)) #@33 Name of warning message buffer. (defvar checkdoc-diagnostic-buffer "*Style Warnings*" (#$ . 6122)) (byte-code "\300\301\302\303\304DD\305\306\307%\207" [custom-declare-variable checkdoc-verb-check-experimental-flag funcall function #[0 "\300\207" [t] 1] "Non-nil means to attempt to check the voice of the doc string.\nThis check keys off some words which are commonly misused. See the\nvariable `checkdoc-common-verbs-wrong-voice' if you wish to add your own." :type boolean] 6) #@157 Non-nil means generate warnings in a buffer for browsing. Do not set this by hand, use a function like `checkdoc-current-buffer' with a universal argument. (defvar checkdoc-generate-compile-warnings-flag nil (#$ . 6610)) (byte-code "\300\301\302\303\304DD\305\306\307%\207" [custom-declare-variable checkdoc-symbol-words funcall function #[0 "\300\207" [nil] 1] "A list of symbol names (strings) which also happen to make good words.\nThese words are ignored when unquoted symbols are searched for.\nThis should be set in an Emacs Lisp file's local variables." :type (repeat (symbol :tag "Word"))] 6) #@51 Return t when OBJ is a list of strings. (fn OBJ) (defalias 'checkdoc-list-of-strings-p #[257 "\211<\205\f \300\301\302\">?\207" [nil mapcar stringp] 5 (#$ . 7217)]) #@62 List of words (not capitalized) which should be capitalized. (defvar checkdoc-proper-noun-list '("ispell" "xemacs" "emacs" "lisp") (#$ . 7390)) #@64 Regular expression derived from `checkdoc-proper-noun-regexp'. (defvar checkdoc-proper-noun-regexp (byte-code "\301\302\303\"\304Q\207" [checkdoc-proper-noun-list "\\_<" regexp-opt t "\\(\\_>\\|[.!?][ \n\"]\\)"] 4) (#$ . 7540)) #@65 Regular expression derived from `checkdoc-common-verbs-regexp'. (defvar checkdoc-common-verbs-regexp nil (#$ . 7776)) #@296 Alist of common words in the wrong voice and what should be used instead. Set `checkdoc-verb-check-experimental-flag' to nil to avoid this costly and experimental check. Do not modify this list without setting the value of `checkdoc-common-verbs-regexp' to nil which cause it to be re-created. (defvar checkdoc-common-verbs-wrong-voice '(("adds" . "add") ("allows" . "allow") ("appends" . "append") ("applies" . "apply") ("arranges" . "arrange") ("brings" . "bring") ("calls" . "call") ("catches" . "catch") ("changes" . "change") ("checks" . "check") ("contains" . "contain") ("converts" . "convert") ("creates" . "create") ("destroys" . "destroy") ("disables" . "disable") ("executes" . "execute") ("evals" . "evaluate") ("evaluates" . "evaluate") ("finds" . "find") ("forces" . "force") ("gathers" . "gather") ("generates" . "generate") ("goes" . "go") ("guesses" . "guess") ("highlights" . "highlight") ("holds" . "hold") ("ignores" . "ignore") ("indents" . "indent") ("initializes" . "initialize") ("inserts" . "insert") ("installs" . "install") ("investigates" . "investigate") ("keeps" . "keep") ("kills" . "kill") ("leaves" . "leave") ("lets" . "let") ("loads" . "load") ("looks" . "look") ("makes" . "make") ("marks" . "mark") ("matches" . "match") ("moves" . "move") ("notifies" . "notify") ("offers" . "offer") ("parses" . "parse") ("performs" . "perform") ("prepares" . "prepare") ("prepends" . "prepend") ("reads" . "read") ("raises" . "raise") ("removes" . "remove") ("replaces" . "replace") ("resets" . "reset") ("restores" . "restore") ("returns" . "return") ("runs" . "run") ("saves" . "save") ("says" . "say") ("searches" . "search") ("selects" . "select") ("sets" . "set") ("sex" . "s*x") ("shows" . "show") ("signifies" . "signify") ("sorts" . "sort") ("starts" . "start") ("stores" . "store") ("switches" . "switch") ("tells" . "tell") ("tests" . "test") ("toggles" . "toggle") ("tries" . "try") ("turns" . "turn") ("undoes" . "undo") ("unloads" . "unload") ("unmarks" . "unmark") ("updates" . "update") ("uses" . "use") ("yanks" . "yank")) (#$ . 7901)) #@52 Syntax table used by checkdoc in document strings. (defvar checkdoc-syntax-table (byte-code "\301!\302\303\304#\210\211\207" [emacs-lisp-mode-syntax-table make-syntax-table modify-syntax-entry 45 "w"] 5) (#$ . 9983)) #@173 Interactively check the entire buffer for style errors. The current status of the check will be displayed in a buffer which the users will view as each check is completed. (defalias 'checkdoc #[0 "\303\304\211\211F\305>@ \203 \306=\203 \307\202 \310\311!\210\211\n\204+ \312\2025 \313 \2034 \314\2025 \315\240\266A\211\303\240\266\311!\210\316\310\317\"\262A\211\203X \320\321G\"\202Y \315\240\266AA\211\303\240\266\311!\210AA\211\322\310\317\"\211\262\203~ \320\321G\"\202 \315\240\266\323\233\211\303\240\266\311!\210\323\233\211\3241\236 \325\310\317\"0\202\242 \210\202\251 \203\251 \314\202\252 \315\240\266\311!*\207" [checkdoc-spellcheck-documentation-flag checkdoc-autofix-flag buffer-file-name "Checking..." "-" (buffer interactive t) never query nil checkdoc-display-status-buffer "Not checked" checkdoc-file-comments-engine "Errors" "Ok" checkdoc-interactive t format "%d Errors" checkdoc-message-interactive 3 (error) checkdoc-rogue-spaces] 9 (#$ . 10209) nil]) #@207 Display and update the status buffer for the current checkdoc mode. CHECK is a list of four strings stating the current status of each test; the nth string describes the status of the nth test. (fn CHECK) (defalias 'checkdoc-display-status-buffer #[257 "\306 r\307\310!q\210p\311 \210\306\211\312\211\312\313 \210\314\300!\210+\211\315\316\317@\320A@\321\322\n8\323\324\f8\257\"\210\325!\210)\266)\326\327\310!!\210\330\306!\210\331\332!\207" [temp-buffer-setup-hook default-directory buffer-read-only buffer-file-name buffer-undo-list inhibit-modification-hooks nil get-buffer-create "*Checkdoc Status*" kill-all-local-variables t erase-buffer run-hooks mapc princ "Buffer comments and tags: " "\nDocumentation style: " "\nMessage/Query text style: " 2 "\nUnwanted Spaces: " 3 internal-temp-output-buffer-show shrink-window-if-larger-than-buffer get-buffer-window message sit-for 0 inhibit-read-only standard-output] 15 (#$ . 11225)]) #@475 Interactively check the current buffer for doc string errors. Prefix argument START-HERE will start the checking from the current point, otherwise the check starts at the beginning of the current buffer. Allows navigation forward and backwards through document errors. Does not check for comment or space warnings. Optional argument SHOWSTATUS indicates that we should update the checkdoc status window instead of the usual behavior. (fn &optional START-HERE SHOWSTATUS) (defalias 'checkdoc-interactive #[512 "\301>@\302\303#\304!\210)\207" [checkdoc-spellcheck-documentation-flag (interactive t) checkdoc-interactive-loop checkdoc-next-error checkdoc-interactive-ispell-loop] 6 (#$ . 12206) "P"]) #@479 Interactively check the current buffer for message string errors. Prefix argument START-HERE will start the checking from the current point, otherwise the check starts at the beginning of the current buffer. Allows navigation forward and backwards through document errors. Does not check for comment or space warnings. Optional argument SHOWSTATUS indicates that we should update the checkdoc status window instead of the usual behavior. (fn &optional START-HERE SHOWSTATUS) (defalias 'checkdoc-message-interactive #[512 "\301>@\302\303#\304!\210)\207" [checkdoc-spellcheck-documentation-flag (interactive t) checkdoc-interactive-loop checkdoc-next-message-error checkdoc-message-interactive-ispell-loop] 6 (#$ . 12919) "P"]) #@628 Interactively loop over all errors that can be found by a given method. If START-HERE is nil, searching starts at the beginning of the current buffer, otherwise searching starts at START-HERE. SHOWSTATUS expresses the verbosity of the search, and whether ending the search will auto-exit this function. FINDFUNC is a symbol representing a function that will position the cursor, and return error message text to present to the user. It is assumed that the cursor will stop just before a major sexp, which will be highlighted to present the user with feedback as to the offending style. (fn START-HERE SHOWSTATUS FINDFUNC) (defalias 'checkdoc-interactive-loop #[771 "`\204 eb\210\306>@\307!C\307C\307\211\310 \311\312\313\314\315!\316\"\317$\216@\204+ \307\262\320 \210\203p@Ab\210@@;\203L \212\321`\322\323!\210`\")\202Z \321\324@@!\325@@!\"\240\210\311\312\326\314\315!\327\"\317$\216\330\242\331\332#\210\333\312!\210g\334U\203\255 \335\212\322\323!\210`)\336 \"\204\255 \337`\212\322\323!\210`)\"\211\340 V\203\240 \341\323!\210\202\251 \341\340 Z\317\245!\210\210\202\260 \341 \210\342\343\344@@!\345@@!\203\305 \346\202\306 \347#\210\212\324@@!b\210\335 \204\334 \341\340 \317Z!\210\350 \262)\250\204\351 \351\262\352\267\202\375\353\354\307\"\210\202l\355\242!\210\307\240\210@Ab\210\356\307\357!\210 \356=?\262\211\204#\342\360!\210\333\317!\210\202(A\262)\266\320 \210\307!\211\203?\211B\262\202V\204N\342\361!\210\333\317!\210\202V\342\362!\210\333\317!\210\210\202l\307!\211\204\206\203p\262\307\262\202\214\204{\342\361!\210\202\342\362!\210\333\317!\210\202\214\211B\262\210\202lG\323U\204\246A\262@Ab\210\320 \210\202l\342\363!\210\333\317!\210\202l\364\344@@!!\210\355\242!\210A\262\320 \210\307!\211\204\347\203\334\262\307\262\202\355\342\361!\210\333\317!\210\202\355\211B\262\210\202l\262\307\262`\262\202l\365\366!\203\367\365\366!!\210\370\366!\210\202l\nr\371\366!q\210p\372 \210\307\211\357\211\357@A\373 \210\374\375!\210+\211BrBq\210\376\345@@!\203G\346\202H\377\201C \201D \201E \201F \201G \261\210)\201H !\210)\266\201I \365\366!!\210)\202. )\210b\210\201J \366!\203\201\370\366!\210\342\201K !\210)\207" [checkdoc-spellcheck-documentation-flag checkdoc-autofix-flag default-directory buffer-read-only buffer-file-name buffer-undo-list (buffer interactive t) nil current-window-configuration make-byte-code 0 "\301\300!\207" vconcat vector [set-window-configuration] 2 beginning-of-defun make-overlay forward-sexp 1 checkdoc-error-start checkdoc-error-end "\300\242\205 \301\300\242!\207" [delete-overlay] overlay-put face highlight sit-for 34 pos-visible-in-window-p selected-window count-lines window-height recenter message "%s (C-h,%se,n,p,q)" checkdoc-error-text checkdoc-error-unfixable "" "f," read-event 63 #s(hash-table size 9 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (7 239 121 247 102 247 110 346 32 346 112 400 127 400 101 433 113 497)) signal quit delete-overlay automatic-then-never t "A Fix was not available." "No More Stylistic Errors." "No Additional style errors. Continuing..." "No Previous Errors." checkdoc-recursive-edit get-buffer-window "*Checkdoc Help*" delete-window kill-buffer get-buffer-create kill-all-local-variables erase-buffer run-hooks temp-buffer-setup-hook "Checkdoc Keyboard Summary:\n" "f, y - auto Fix this warning without asking (if available.)\n Very complex operations will still query.\n" inhibit-modification-hooks inhibit-read-only standard-output "e - Enter recursive Edit. Press C-M-c to exit.\n" "SPC, n - skip to the Next error.\n" "DEL, p - skip to the Previous error.\n" "q - Quit checkdoc.\n" "C-h - Toggle this help buffer." internal-temp-output-buffer-show shrink-window-if-larger-than-buffer get-buffer "Checkdoc: Done."] 19 (#$ . 13660)]) #@200 Interactively spell check doc strings in the current buffer. If START-HERE is nil, searching starts at the beginning of the current buffer, otherwise searching starts at START-HERE. (fn START-HERE) (defalias 'checkdoc-interactive-ispell-loop #[257 "\2059 \212\211\203 \301 \210\202 eb\210\302 \2035 \303\304\305\306`_d\"\"\210g\307U\203 \310\212\311\312!\210\313 )!\210\202 \303\314!)\207" [checkdoc-spellcheck-documentation-flag beginning-of-defun checkdoc-next-docstring message "Searching for doc string spell error...%d%%" floor 100.0 34 checkdoc-ispell-docstring-engine forward-sexp 1 point-marker "Checkdoc: Done."] 6 (#$ . 17576)]) #@197 Interactively spell check messages in the current buffer. If START-HERE is nil, searching starts at the beginning of the current buffer, otherwise searching starts at START-HERE. (fn START-HERE) (defalias 'checkdoc-message-interactive-ispell-loop #[257 "\205: \212\211\203 \301 \210\202 eb\210\302d!\2036 \303\304\305\306`_d\"\"\210g\307U\203 \310\212\311\312!\210\313 )!\210\202 \303\314!)\207" [checkdoc-spellcheck-documentation-flag beginning-of-defun checkdoc-message-text-next-string message "Searching for message string spell error...%d%%" floor 100.0 34 checkdoc-ispell-docstring-engine forward-sexp 1 point-marker "Checkdoc: Done."] 6 (#$ . 18228)]) #@546 Find and return the next checkdoc error list, or nil. Only documentation strings are checked. An error list is of the form (WARNING . POSITION) where WARNING is the warning text, and POSITION is the point in the buffer where the error was found. We can use points and not markers because we promise not to edit the buffer before point without re-executing this check. Argument ENABLE-FIX will enable auto-fixing while looking for the next error. This argument assumes that the cursor is already positioned to perform the fix. (fn ENABLE-FIX) (defalias 'checkdoc-next-error #[257 "\211\203 \301 \207\302`\302\30317 ?\2053 \304 \2053 \305\306\307\310`_d\"\"\210\301 \211\262\203 `B\262\202 0\202: \210\211b\210)\207" [checkdoc-autofix-flag checkdoc-this-string-valid nil (quit) checkdoc-next-docstring message "Searching for doc string error...%d%%" floor 100.0] 8 (#$ . 18900)]) #@336 Find and return the next checkdoc message related error list, or nil. Only text for error and `y-or-n-p' strings are checked. See `checkdoc-next-error' for details on the return value. Argument ENABLE-FIX turns on the auto-fix feature. This argument assumes that the cursor is already positioned to perform the fix. (fn ENABLE-FIX) (defalias 'checkdoc-next-message-error #[257 "\211\203 \301 \207\302`\302\211\3031= ?\2059 \304d!\211\262\2059 \305\306\307\310`_d\"\"\210\301!\211\262\203 `B\262\202 0\202@ \210b\210)\207" [checkdoc-autofix-flag checkdoc-message-text-engine nil (quit) checkdoc-message-text-next-string message "Searching for message string error...%d%%" floor 100.0] 9 (#$ . 19797)]) #@157 Enter recursive edit to permit a user to fix some error checkdoc has found. MSG is the error that was found, which is displayed in a help buffer. (fn MSG) (defalias 'checkdoc-recursive-edit #[257 "r\306\307!q\210p\310 \210\311\211\312\211\312\313 \210\314\315!\210+\211\316\317\320\321E\"\210\322!\210)\266\323\324\307!!\210\325\326!\210\327\216\330 )\207" [default-directory buffer-read-only buffer-file-name buffer-undo-list inhibit-modification-hooks inhibit-read-only get-buffer-create "*Checkdoc Help*" kill-all-local-variables nil t erase-buffer run-hooks temp-buffer-setup-hook mapc princ "Error message:\n " "\n\nEdit to fix this problem, and press C-M-c to continue." internal-temp-output-buffer-show shrink-window-if-larger-than-buffer get-buffer-window message "When you're done editing press C-M-c to continue." #[0 "\300\301!\205 \302\300\301!!\210\303\301!\207" [get-buffer-window "*Checkdoc Help*" delete-window kill-buffer] 3] recursive-edit standard-output] 9 (#$ . 20520)]) #@222 Evaluate and check documentation for the current buffer. Evaluation is done first because good documentation for something that doesn't work is just not useful. Comments, doc strings, and rogue spacing are all verified. (defalias 'checkdoc-eval-current-buffer #[0 "\300\301!\210\302\303!\207" [eval-buffer nil checkdoc-current-buffer t] 2 (#$ . 21535) nil]) #@245 Check current buffer for document, comment, error style, and rogue spaces. With a prefix argument (in Lisp, the argument TAKE-NOTES), store all errors found in a warnings buffer, otherwise stop after the first error. (fn &optional TAKE-NOTES) (defalias 'checkdoc-current-buffer #[256 "\305\306!\203\n \307\310!\210\311>@\203 \312\202 \206 \n\211\203' \313\314!\210\2030 \315 \206\\ \316!\206\\ \317 \206\\ \320 \206\\ \f\203I \321 \206\\ \305\306!?\206\\ \211\203Y \322 \206\\ \307\323!+\207" [checkdoc-spellcheck-documentation-flag checkdoc-autofix-flag checkdoc-generate-compile-warnings-flag buffer-file-name checkdoc-package-keywords-flag called-interactively-p interactive message "Checking buffer for style..." (buffer t) never checkdoc-start-section "checkdoc-current-buffer" checkdoc-comments checkdoc-start checkdoc-message-text checkdoc-rogue-spaces checkdoc-package-keywords checkdoc-show-diagnostics "Checking buffer for style...Done."] 4 (#$ . 21901) "P"]) #@77 Check FILE for document, comment, error style, and rogue spaces. (fn FILE) (defalias 'checkdoc-file #[257 "r\301!q\210\302\303\304!*\207" [checkdoc-diagnostic-buffer find-file-noselect "*warn*" checkdoc-current-buffer t] 3 (#$ . 22890)]) #@308 Start scanning the current buffer for documentation string style errors. Only documentation strings are checked. Use `checkdoc-continue' to continue checking if an error cannot be fixed. Prefix argument TAKE-NOTES means to collect all the warning messages into a separate buffer. (fn &optional TAKE-NOTES) (defalias 'checkdoc-start #[256 "`eb\210\203 \300\301!\203 \302\303!\210\304!\210\211b\210\305\207" [called-interactively-p interactive checkdoc-start-section "checkdoc-start" checkdoc-continue nil] 4 (#$ . 23138) "P"]) #@210 Find the next doc string in the current buffer which has a style error. Prefix argument TAKE-NOTES means to continue through the whole buffer and save warnings in a separate buffer. (fn &optional TAKE-NOTES) (defalias 'checkdoc-continue #[256 "\303\211\304>@\203 \305\202 \206 \n\212\2040 \306 \2030 \307!\262\211\203 `\262\202 )\203C b\210\204C \310\311\312!\"\210\313 \210\314\315!\205O \316\317!+\207" [checkdoc-spellcheck-documentation-flag checkdoc-autofix-flag checkdoc-generate-compile-warnings-flag nil (buffer t) never checkdoc-next-docstring checkdoc-this-string-valid user-error "%s" checkdoc-error-text checkdoc-show-diagnostics called-interactively-p interactive message "No style warnings."] 7 (#$ . 23676) "P"]) #@101 Move to the next doc string after point, and return t. Return nil if there are no more doc strings. (defalias 'checkdoc-next-docstring #[0 "\300\301 \211\262\204 \302\303!\204 \211\207" [nil checkdoc--next-docstring beginning-of-defun -1] 3 (#$ . 24431)]) #@205 When looking at a definition with a doc string, find it. Move to the next doc string after point, and return t. When not looking at a definition containing a doc string, return nil and don't move point. (defalias 'checkdoc--next-docstring #[0 "\212\3001 \3011 \302p!00\202 0\210\303\202 \210\303)\211:\205P \211@\211\304>\205N A\211:\205L \211@\2119\205J A\211:\205H \305 \210\306\307!\210\310\303w\210\311\262\262\262\262\207" [(end-of-file) (invalid-read-syntax) read nil (cl-defmacro cl-defmethod cl-defgeneric cl-defun defadvice defsubst defconst defmacro defcustom defvar defun) down-list forward-sexp 3 " \n " t] 7 (#$ . 24697)]) #@239 Find missing comment sections in the current Emacs Lisp file. Prefix argument TAKE-NOTES non-nil means to save warnings in a separate buffer. Otherwise print a message. This returns the error if there is one. (fn &optional TAKE-NOTES) (defalias 'checkdoc-comments #[256 "\211\203 \304\305!\210\204 \306\307!\210 \310>@\211\203 \311\202 \n\312 \206&