diff options
| author | Paul Eggert | 2016-05-02 10:46:53 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-05-02 10:46:53 -0700 |
| commit | 2bf7bc4161a3b3e1eceaf8422773de87ae233ea3 (patch) | |
| tree | d17e0d30b08dc696fa30cb3eec8673841eddef0a /test/lisp | |
| parent | d05806fda1cbba2db112bc783597fbe9d27175b2 (diff) | |
| parent | bf21c84f0d3dab33b4836098b789eaddf9492b2a (diff) | |
| download | emacs-2bf7bc4161a3b3e1eceaf8422773de87ae233ea3.tar.gz emacs-2bf7bc4161a3b3e1eceaf8422773de87ae233ea3.zip | |
Merge from origin/emacs-25
bf21c84 Fix quoting problem in cc-engine debug message
8f36614 Add electric-quote-string unit test
6280531 Don’t electrically quote ‘'’ in Python
fd7b430 `nreverse' Grep hits before passing them to xref--convert-hits
Diffstat (limited to 'test/lisp')
| -rw-r--r-- | test/lisp/electric-tests.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/lisp/electric-tests.el b/test/lisp/electric-tests.el index 107b2e79fb6..afd707667b8 100644 --- a/test/lisp/electric-tests.el +++ b/test/lisp/electric-tests.el | |||
| @@ -584,5 +584,13 @@ baz\"\"" | |||
| 584 | (skip-chars-backward "\"") | 584 | (skip-chars-backward "\"") |
| 585 | (mark-sexp -1))) | 585 | (mark-sexp -1))) |
| 586 | 586 | ||
| 587 | |||
| 588 | ;;; Electric quotes | ||
| 589 | (define-electric-pair-test electric-quote-string | ||
| 590 | "" "'" :expected-string "'" :expected-point 2 | ||
| 591 | :fixture-fn #'electric-quote-local-mode | ||
| 592 | :bindings '((electric-quote-string . t)) | ||
| 593 | :test-in-comments nil :test-in-strings nil) | ||
| 594 | |||
| 587 | (provide 'electric-tests) | 595 | (provide 'electric-tests) |
| 588 | ;;; electric-tests.el ends here | 596 | ;;; electric-tests.el ends here |