aboutsummaryrefslogtreecommitdiffstats
path: root/doc/misc
diff options
context:
space:
mode:
authorPaul Eggert2017-03-19 12:29:06 -0700
committerPaul Eggert2017-03-19 12:29:06 -0700
commite6fd84d2d5ca256797ff210c915a2fa773d4d742 (patch)
treeba2ba64a65705a3259a0ecb66098f834e741fb4b /doc/misc
parentd86bcedd880b3cb6383641082d406075aa6e70e2 (diff)
parentab0a60a1b334fafc7d805eb44e6069ea314ad486 (diff)
downloademacs-e6fd84d2d5ca256797ff210c915a2fa773d4d742.tar.gz
emacs-e6fd84d2d5ca256797ff210c915a2fa773d4d742.zip
Merge from origin/emacs-25
ab0a60a ; * CONTRIBUTE (Generating ChangeLog entries): Drop duplicate... 7e02a47 Index byte-compile-debug 7c1e598 Document `byte-compile-debug' in the ELisp manual 4d81eb4 Document variable `byte-compile-debug' 72ef710 Fix call to debugger on assertion failure ae8264c Call modification hooks in org-src fontify buffers b3139da ; Fix last change in doc/lispref/strings.texi c331f39 Improve documentation of 'format' conversions 9f52f67 Remove stale functions from ert manual c416b14 Fix a typo in Eshell manual 06695a0 ; Fix a typo in ediff-merg.el 954e9e9 Improve documentation of hooks related to saving buffers 9fcab85 Improve documentation of auto-save-visited-file-name 2236c53 fix typo in mailcap-mime-extensions 85a3e4e Fix typos in flymake.el a1ef10e More NEWS checking for admin.el's set-version # Conflicts: # lisp/emacs-lisp/bytecomp.el
Diffstat (limited to 'doc/misc')
-rw-r--r--doc/misc/ert.texi14
-rw-r--r--doc/misc/eshell.texi2
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/misc/ert.texi b/doc/misc/ert.texi
index b07cb0be490..4a2c29dcb9f 100644
--- a/doc/misc/ert.texi
+++ b/doc/misc/ert.texi
@@ -551,15 +551,15 @@ on their environment is easy. Such tests often look like this:
551 551
552@lisp 552@lisp
553(ert-deftest ert-test-mismatch () 553(ert-deftest ert-test-mismatch ()
554 (should (eql (ert--mismatch "" "") nil)) 554 (should (eql (cl-mismatch "" "") nil))
555 (should (eql (ert--mismatch "" "a") 0)) 555 (should (eql (cl-mismatch "" "a") 0))
556 (should (eql (ert--mismatch "a" "a") nil)) 556 (should (eql (cl-mismatch "a" "a") nil))
557 (should (eql (ert--mismatch "ab" "a") 1)) 557 (should (eql (cl-mismatch "ab" "a") 1))
558 (should (eql (ert--mismatch "Aa" "aA") 0)) 558 (should (eql (cl-mismatch "Aa" "aA") 0))
559 (should (eql (ert--mismatch '(a b c) '(a b d)) 2))) 559 (should (eql (cl-mismatch '(a b c) '(a b d)) 2)))
560@end lisp 560@end lisp
561 561
562This test calls the function @code{ert--mismatch} several times with 562This test calls the function @code{cl-mismatch} several times with
563various combinations of arguments and compares the return value to the 563various combinations of arguments and compares the return value to the
564expected return value. (Some programmers prefer @code{(should (eql 564expected return value. (Some programmers prefer @code{(should (eql
565EXPECTED ACTUAL))} over the @code{(should (eql ACTUAL EXPECTED))} 565EXPECTED ACTUAL))} over the @code{(should (eql ACTUAL EXPECTED))}
diff --git a/doc/misc/eshell.texi b/doc/misc/eshell.texi
index bd89b9c5bf2..a7651b21d61 100644
--- a/doc/misc/eshell.texi
+++ b/doc/misc/eshell.texi
@@ -493,7 +493,7 @@ History I-search.
493@itemx M-n 493@itemx M-n
494Previous and next history line. If there is anything on the input 494Previous and next history line. If there is anything on the input
495line when you run these commands, they will instead jump to the 495line when you run these commands, they will instead jump to the
496precious or next line that begins with that string. 496previous or next line that begins with that string.
497@end table 497@end table
498 498
499@node Completion 499@node Completion