diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/lisp/electric-tests.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lisp/electric-tests.el b/test/lisp/electric-tests.el index 83e0c678e3b..44bdbc7b8c8 100644 --- a/test/lisp/electric-tests.el +++ b/test/lisp/electric-tests.el | |||
| @@ -735,6 +735,13 @@ baz\"\"" | |||
| 735 | :bindings '((electric-quote-replace-double . t)) | 735 | :bindings '((electric-quote-replace-double . t)) |
| 736 | :test-in-comments nil :test-in-strings nil) | 736 | :test-in-comments nil :test-in-strings nil) |
| 737 | 737 | ||
| 738 | (define-electric-pair-test electric-quote-replace-double-no-context-single | ||
| 739 | " " "-'" :expected-string " ’" :expected-point 3 | ||
| 740 | :modes '(text-mode) | ||
| 741 | :fixture-fn #'electric-quote-local-mode | ||
| 742 | :bindings '((electric-quote-replace-double . t)) | ||
| 743 | :test-in-comments nil :test-in-strings nil) | ||
| 744 | |||
| 738 | ;; Simulate ‘markdown-mode’: it sets both ‘comment-start’ and | 745 | ;; Simulate ‘markdown-mode’: it sets both ‘comment-start’ and |
| 739 | ;; ‘comment-use-syntax’, but derives from ‘text-mode’. | 746 | ;; ‘comment-use-syntax’, but derives from ‘text-mode’. |
| 740 | (define-electric-pair-test electric-quote-markdown-in-text | 747 | (define-electric-pair-test electric-quote-markdown-in-text |