diff options
| author | Lars Ingebrigtsen | 2022-04-22 16:17:22 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-04-22 16:17:22 +0200 |
| commit | bbf389ea6deab229ba18dc519fe712ec982609d1 (patch) | |
| tree | 73f1f24195357163f93f5a9cb5fc9475eec0da57 /test/src | |
| parent | 16dfec3c4ccafb2ec7b9a428fb2730ca8f0202fd (diff) | |
| download | emacs-bbf389ea6deab229ba18dc519fe712ec982609d1.tar.gz emacs-bbf389ea6deab229ba18dc519fe712ec982609d1.zip | |
Audit quoting the quote character in doc strings
* test/src/regex-emacs-tests.el (regex-tests-compare):
(regex-tests-compare):
(regex-tests-match):
* test/lisp/xml-tests.el (xml-parse-tests--qnames):
* test/lisp/mh-e/mh-thread-tests.el (mh-thread-tests-before-from):
* test/lisp/cedet/srecode-utest-template.el (srecode-utest-map-reset):
* test/lisp/calc/calc-tests.el (calc-tests-equal):
* lisp/window.el (get-lru-window):
(get-mru-window):
(get-largest-window):
(quit-restore-window):
(display-buffer):
* lisp/vc/vc-rcs.el (vc-rcs-consult-headers):
* lisp/url/url-auth.el (url-digest-auth-build-response):
* lisp/tutorial.el (tutorial--find-changed-keys):
* lisp/transient.el (transient-suffix-object):
* lisp/textmodes/rst.el (rst-insert-list-new-item):
* lisp/textmodes/bibtex.el (bibtex-clean-entry):
* lisp/tab-bar.el (tab-bar--key-to-number):
(toggle-frame-tab-bar):
* lisp/ses.el (ses-recalculate-cell):
(ses-define-local-printer):
(ses-prin1):
* lisp/progmodes/xref.el (xref--find-ignores-arguments):
* lisp/progmodes/verilog-mode.el (verilog-single-declaration-end):
* lisp/progmodes/tcl.el (tcl-mode-hook):
* lisp/progmodes/gdb-mi.el (gdb-get-buffer-create):
* lisp/progmodes/elisp-mode.el (elisp--xref-make-xref):
* lisp/play/dunnet.el (dun-room-objects):
* lisp/outline.el (outline--cycle-state):
* lisp/org/ox-publish.el (org-publish-find-property):
* lisp/org/ox-html.el (org-html--unlabel-latex-environment):
* lisp/org/org-table.el (org-table-collapse-header):
* lisp/org/org-plot.el (org--plot/prime-factors):
* lisp/org/org-agenda.el (org-agenda--mark-blocked-entry):
(org-agenda-set-restriction-lock):
* lisp/org/ob-lua.el (org-babel-lua-read-string):
* lisp/org/ob-julia.el (org-babel-julia-evaluate-external-process):
(org-babel-julia-evaluate-session):
* lisp/org/ob-core.el (org-babel-default-header-args):
* lisp/obsolete/mouse-sel.el (mouse-select):
(mouse-select-secondary):
* lisp/net/tramp.el (tramp-methods):
* lisp/net/eww.el (eww-accept-content-types):
* lisp/net/dictionary-connection.el (dictionary-connection-status):
* lisp/minibuffer.el (completion-flex--make-flex-pattern):
* lisp/mh-e/mh-mime.el (mh-have-file-command):
* lisp/mh-e/mh-limit.el (mh-subject-to-sequence):
(mh-subject-to-sequence-threaded):
(mh-subject-to-sequence-unthreaded):
* lisp/mail/feedmail.el (feedmail-queue-buffer-file-name):
(feedmail-vm-mail-mode):
* lisp/ls-lisp.el (ls-lisp--sanitize-switches):
* lisp/keymap.el (key-valid-p):
* lisp/international/ccl.el (ccl-compile-branch-blocks):
* lisp/image/image-converter.el (image-convert):
* lisp/gnus/spam.el (spam-backend-check):
* lisp/gnus/nnselect.el (nnselect-generate-artlist):
* lisp/gnus/nnmairix.el (nnmairix-widget-other):
* lisp/gnus/message.el (message-mailto):
* lisp/gnus/gnus-sum.el (gnus-collect-urls-from-article):
* lisp/gnus/gnus-search.el (gnus-search-prepare-query):
* lisp/frame.el (frame-size-history):
* lisp/eshell/esh-var.el (eshell-parse-variable-ref):
* lisp/eshell/em-dirs.el (eshell-expand-multiple-dots):
* lisp/erc/erc-backend.el (erc-bounds-of-word-at-point):
* lisp/emulation/cua-rect.el (cua--rectangle-operation):
* lisp/emacs-lisp/text-property-search.el (text-property-search-forward):
* lisp/emacs-lisp/package.el (package-desc-suffix):
* lisp/emacs-lisp/faceup.el (faceup-test-explain):
* lisp/emacs-lisp/comp.el (comp-curr-allocation-class):
(comp-alloc-class-to-container):
(comp-add-cstrs):
(comp-remove-type-hints-func):
(batch-byte+native-compile):
* lisp/emacs-lisp/cl-macs.el (cl--optimize):
* lisp/elec-pair.el (electric-pair--syntax-ppss):
* lisp/doc-view.el (doc-view-doc-type):
* lisp/cedet/semantic/symref.el (semantic-symref-tool-alist):
(semantic-symref-hit-to-tag-via-db):
(semantic-symref-hit-to-tag-via-buffer):
* lisp/cedet/semantic/lex-spp.el (semantic-lex-spp-get-overlay):
* lisp/cedet/semantic/java.el (semantic-java-doc-keywords-map):
* lisp/cedet/semantic/find.el (semantic-brute-find-tag-by-function):
* lisp/cedet/semantic/db.el (semanticdb-project-predicate-functions):
* lisp/cedet/semantic.el (semantic-working-type):
* lisp/cedet/ede/files.el (ede-flush-directory-hash):
* lisp/calc/calc.el (calc--header-line):
* lisp/auth-source.el (auth-source-pick-first-password):
(auth-source--decode-octal-string):
* etc/themes/modus-themes.el (modus-themes--paren):
(modus-themes--agenda-habit):
* admin/cus-test.el (cus-test-vars-with-changed-state): Fix
quoting in doc strings. In code examples, the ' character is
quoted with \\=, and regularize 'foo to `foo', and quote strings
like "foo" instead of 'foo'.
Diffstat (limited to 'test/src')
| -rw-r--r-- | test/src/regex-emacs-tests.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/src/regex-emacs-tests.el b/test/src/regex-emacs-tests.el index e6288d1fc9b..ff0d6be3f5d 100644 --- a/test/src/regex-emacs-tests.el +++ b/test/src/regex-emacs-tests.el | |||
| @@ -157,8 +157,8 @@ are known failures, and are skipped." | |||
| 157 | 157 | ||
| 158 | (defun regex-tests-compare (string what-failed bounds-ref &optional substring-ref) | 158 | (defun regex-tests-compare (string what-failed bounds-ref &optional substring-ref) |
| 159 | "I just ran a search, looking at STRING. WHAT-FAILED describes | 159 | "I just ran a search, looking at STRING. WHAT-FAILED describes |
| 160 | what failed, if anything; valid values are 'search-failed, | 160 | what failed, if anything; valid values are `search-failed', |
| 161 | 'compilation-failed and nil. I compare the beginning/end of each | 161 | `compilation-failed' and nil. I compare the beginning/end of each |
| 162 | group with their expected values. This is done with either | 162 | group with their expected values. This is done with either |
| 163 | BOUNDS-REF or SUBSTRING-REF; one of those should be non-nil. | 163 | BOUNDS-REF or SUBSTRING-REF; one of those should be non-nil. |
| 164 | BOUNDS-REF is a sequence [start-ref0 end-ref0 start-ref1 | 164 | BOUNDS-REF is a sequence [start-ref0 end-ref0 start-ref1 |
| @@ -166,9 +166,9 @@ end-ref1 ....] while SUBSTRING-REF is the expected substring | |||
| 166 | obtained by indexing the input string by start/end-ref. | 166 | obtained by indexing the input string by start/end-ref. |
| 167 | 167 | ||
| 168 | If the search was supposed to fail then start-ref0/substring-ref0 | 168 | If the search was supposed to fail then start-ref0/substring-ref0 |
| 169 | is 'search-failed. If the search wasn't even supposed to compile | 169 | is `search-failed'. If the search wasn't even supposed to compile |
| 170 | successfully, then start-ref0/substring-ref0 is | 170 | successfully, then start-ref0/substring-ref0 is |
| 171 | 'compilation-failed. If I only care about a match succeeding, | 171 | `compilation-failed'. If I only care about a match succeeding, |
| 172 | this can be set to t. | 172 | this can be set to t. |
| 173 | 173 | ||
| 174 | This function returns a string that describes the failure, or nil | 174 | This function returns a string that describes the failure, or nil |
| @@ -259,8 +259,8 @@ BOUNDS-REF is a sequence [start-ref0 end-ref0 start-ref1 end-ref1 | |||
| 259 | ....]. | 259 | ....]. |
| 260 | 260 | ||
| 261 | If the search was supposed to fail then start-ref0 is | 261 | If the search was supposed to fail then start-ref0 is |
| 262 | 'search-failed. If the search wasn't even supposed to compile | 262 | `search-failed'. If the search wasn't even supposed to compile |
| 263 | successfully, then start-ref0 is 'compilation-failed. | 263 | successfully, then start-ref0 is `compilation-failed'. |
| 264 | 264 | ||
| 265 | This function returns a string that describes the failure, or nil | 265 | This function returns a string that describes the failure, or nil |
| 266 | on success" | 266 | on success" |