Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
eeb51571
Commit
eeb51571
authored
Mar 25, 2015
by
Artur Malabarba
Browse files
emacs-lisp/checkdoc.el: Don't complain about args starting with _.
parent
7c4a0e3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/emacs-lisp/checkdoc.el
lisp/emacs-lisp/checkdoc.el
+3
-2
No files found.
lisp/ChangeLog
View file @
eeb51571
2015-03-25 Artur Malabarba <bruce.connor.am@gmail.com>
* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Don't complain about args starting with _.
2015-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
* international/mule-cmds.el (mule--ucs-names-annotation): New func.
...
...
lisp/emacs-lisp/checkdoc.el
View file @
eeb51571
...
...
@@ -1663,14 +1663,15 @@ function,command,variable,option or symbol." ms1))))))
;; Addendum: Make sure they appear in the doc in the same
;; order that they are found in the arg list.
(let ((args (cdr
(cdr (cdr (cdr
fp))
)))
(let ((args (
nth
cdr
4
fp))
(last-pos 0)
(found 1)
(order (and (nth 3 fp) (car (nth 3 fp))))
(nocheck (append '("
&optional
" "
&rest
") (nth 3 fp)))
(inopts nil))
(while (and args found (> found last-pos))
(if (member (car args) nocheck)
(if (or (member (car args) nocheck)
(string-match "
\\
`
_
" (car args)))
(setq args (cdr args)
inopts t)
(setq last-pos found
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment