1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
emacs/test/lisp
Philipp Stephani 4bbd5424a2 Checkdoc: use syntax functions instead of regex
In checkdoc.el, get rid of the error-prone regex to find definition
forms, and use existing syntax-based navigation functions instead.
This fixes a corner case with one-argument `defvar' forms.

* lisp/emacs-lisp/checkdoc.el (checkdoc--next-docstring): New function.
(checkdoc-next-docstring, checkdoc-defun): Use it.
* test/lisp/emacs-lisp/checkdoc-tests.el (checkdoc-tests--next-docstring):
Add unit test.
2016-12-31 17:30:46 +01:00
..
calc Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
calendar Fix timezone detection of parse-iso8601-time-string 2016-12-24 14:35:12 +02:00
emacs-lisp Checkdoc: use syntax functions instead of regex 2016-12-31 17:30:46 +01:00
emulation Spelling and minor grammar fixes 2016-08-05 13:35:13 -07:00
erc Fix failing test 2016-07-21 21:51:24 +09:00
eshell Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
gnus Remove ‘ert-with-function-mocked’ macro in favour of ‘cl-letf’ macro 2016-06-08 19:10:59 +02:00
international Add tests for ucs-normalize.el 2016-07-16 13:01:04 -04:00
mail ; Add 2016 to copyright years for files not in emacs-25 branch 2016-01-12 16:20:00 -05:00
net * test/lisp/net/tramp-tests.el (tramp--test-check-files): Make it robust. 2016-12-23 09:31:23 +01:00
progmodes Add a new compile error regexp for Clang includes 2016-12-18 21:59:14 +01:00
textmodes Add tests for foreign completions in CSS mode 2016-10-15 11:23:26 +02:00
url * test/lisp/url/url-auth-tests.el (url-auth-test-digest-auth): 2016-02-12 21:18:13 -05:00
vc ; Spelling fixes 2016-12-22 10:14:11 -08:00
abbrev-tests.el abbrev-tests.el fix 2016-05-03 19:21:47 +02:00
auth-source-tests.el Move low-level library files from the lisp/gnus directory 2016-02-24 13:04:03 +11:00
autorevert-tests.el autorevert: Resume with polling if file is deleted 2016-04-19 11:05:55 +02:00
buff-menu-tests.el ; * test/lisp/buff-menu-tests.el: Fix typo in the header. 2016-12-22 13:38:06 +09:00
char-fold-tests.el Merge from origin/emacs-25 2016-05-26 12:55:06 -07:00
comint-tests.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
dabbrev-tests.el * test/lisp/dabbrev-tests.el: Merge fix: move here from test/automated. 2016-03-16 08:58:10 -07:00
descr-text-tests.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
dired-tests.el Fix dired-test-bug22694 2016-07-27 12:30:43 -04:00
dom-tests.el Add tests for dom.el 2016-08-28 18:36:27 +02:00
electric-tests.el Use normal double quotes in TeX / LaTeX comments 2016-08-30 11:14:37 -05:00
epg-tests.el epg: Add a way to detect gpg1 executable for tests 2016-05-20 16:29:04 +09:00
faces-tests.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
ffap-tests.el ffap-string-at-point: Limit max length of active region 2016-12-30 15:31:01 +09:00
filenotify-tests.el Improve filenotify-tests.el 2016-12-29 19:48:17 +01:00
files-tests.el files-test-read-file-in-: Delete temporary dir on exit 2016-12-20 19:22:15 +09:00
files-x-tests.el Implement connection-local variables 2016-11-14 13:56:58 +01:00
help-fns-tests.el Detect aliases to built-in functions 2016-07-09 22:56:25 +09:00
htmlfontify-tests.el ; Add 2016 to copyright years for files not in emacs-25 branch 2016-01-12 16:20:00 -05:00
ibuffer-tests.el ibuffer: New filters and commands 2016-12-20 17:41:56 +09:00
imenu-tests.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
info-xref-tests.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
isearch-tests.el Don't require isearch-update before isearch-done 2016-09-10 09:13:09 -04:00
jit-lock-tests.el Fix the jit-lock-fontify-now test names 2016-05-09 12:29:38 +03:00
json-tests.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
man-tests.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
minibuffer-tests.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
mouse-tests.el ; * test/lisp/mouse-tests.el: Standardize license notice. 2016-05-22 17:20:48 -07:00
obarray-tests.el Merge from origin/emacs-25 2016-01-11 22:48:07 -08:00
ps-print-tests.el ; Add 2016 to copyright years for files not in emacs-25 branch 2016-01-12 16:20:00 -05:00
replace-tests.el Incorporate occur-tests in replace-tests 2016-09-24 13:00:40 +03:00
rot13-tests.el Add tests for rot13.el 2016-11-17 19:19:59 +01:00
shell-tests.el * lisp/shell.el (shell--unquote&requote-argument): Match data misuse 2016-10-26 14:31:12 -04:00
simple-tests.el Merge from origin/emacs-25 2016-08-05 14:07:00 -07:00
sort-tests.el Merge from origin/emacs-25 2016-04-11 09:07:15 -07:00
subr-tests.el Move backtrace to ELisp using a new mapbacktrace primitive 2016-12-12 17:41:27 -05:00
thingatpt-tests.el ; Spelling fixes 2016-11-04 15:07:13 -07:00
whitespace-tests.el Fix whitespace eob cleanup 2016-12-24 09:45:14 -05:00
xml-tests.el Merge from origin/emacs-25 2016-03-11 13:32:13 -08:00
xt-mouse-tests.el * test/lisp/xt-mouse-tests.el: Move from test/automated/. 2016-04-23 10:46:08 -07:00