diff options
| author | Dmitry Gutov | 2013-12-06 06:22:08 +0200 |
|---|---|---|
| committer | Dmitry Gutov | 2013-12-06 06:22:08 +0200 |
| commit | af67e79a52a3db028dc6a066f6e87b87a8190cc9 (patch) | |
| tree | 331ab904d5cbff89dad8499f20834ef1520a70f4 /test | |
| parent | bf09320951c0c1c1831a929a0330f574e78afd49 (diff) | |
| download | emacs-af67e79a52a3db028dc6a066f6e87b87a8190cc9.tar.gz emacs-af67e79a52a3db028dc6a066f6e87b87a8190cc9.zip | |
Fix Bug#15874
* lisp/progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
syntax for `?'.
(ruby-expr-beg): Expect that `!' will have syntax class "symbol"
where appropriate already.
(ruby-syntax-propertize-function): Propertize `?' and `!' at the
end of method names.
Diffstat (limited to 'test')
| -rw-r--r-- | test/automated/ruby-mode-tests.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/automated/ruby-mode-tests.el b/test/automated/ruby-mode-tests.el index f59b8db86e9..9c121169756 100644 --- a/test/automated/ruby-mode-tests.el +++ b/test/automated/ruby-mode-tests.el | |||
| @@ -91,8 +91,7 @@ VALUES-PLIST is a list with alternating index and value elements." | |||
| 91 | (ert-deftest ruby-no-heredoc-inside-quotes () | 91 | (ert-deftest ruby-no-heredoc-inside-quotes () |
| 92 | (ruby-assert-state "\"<<\", \"\",\nfoo" 3 nil)) | 92 | (ruby-assert-state "\"<<\", \"\",\nfoo" 3 nil)) |
| 93 | 93 | ||
| 94 | ;; Change result if you fix http://debbugs.gnu.org/15874 | 94 | (ert-deftest ruby-exit!-font-lock () |
| 95 | (ert-deftest ruby-exit!-font-lock () :expected-result :failed | ||
| 96 | (ruby-assert-face "exit!" 5 font-lock-builtin-face)) | 95 | (ruby-assert-face "exit!" 5 font-lock-builtin-face)) |
| 97 | 96 | ||
| 98 | (ert-deftest ruby-deep-indent () | 97 | (ert-deftest ruby-deep-indent () |