emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102991: * lisp/progmodes/ruby-mode.e


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102991: * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Date: Thu, 27 Jan 2011 12:07:48 -0500
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102991
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Thu 2011-01-27 12:07:48 -0500
message:
  * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
  Copy change made to ruby-font-lock-syntactic-keywords.
modified:
  lisp/ChangeLog
  lisp/progmodes/ruby-mode.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-01-27 17:04:07 +0000
+++ b/lisp/ChangeLog    2011-01-27 17:07:48 +0000
@@ -1,5 +1,8 @@
 2011-01-27  Stefan Monnier  <address@hidden>
 
+       * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
+       Copy change made to ruby-font-lock-syntactic-keywords.
+
        * htmlfontify.el: Make it obey the font-lock-face text property.
        Miscellaneous cleanup such as:
        - Don't hide expressions after a closing paren.

=== modified file 'lisp/progmodes/ruby-mode.el'
--- a/lisp/progmodes/ruby-mode.el       2011-01-26 08:36:39 +0000
+++ b/lisp/progmodes/ruby-mode.el       2011-01-27 17:07:48 +0000
@@ -1129,7 +1129,7 @@
                         (nth 3 (syntax-ppss (match-beginning 0))))
                 (string-to-syntax "\\"))))
           ;; regexps
-          ("\\(^\\|[=(,~?:;<>]\\|\\(^\\|\\s 
\\)\\(if\\|elsif\\|unless\\|while\\|until\\|when\\|and\\|or\\|&&\\|||\\)\\|g?sub!?\\|scan\\|split!?\\)\\s
 *\\(/\\)[^/\n\\\\]*\\(\\\\.[^/\n\\\\]*\\)*\\(/\\)"
+          ("\\(^\\|[[=(,~?:;<>]\\|\\(^\\|\\s 
\\)\\(if\\|elsif\\|unless\\|while\\|until\\|when\\|and\\|or\\|&&\\|||\\)\\|g?sub!?\\|scan\\|split!?\\)\\s
 *\\(/\\)[^/\n\\\\]*\\(\\\\.[^/\n\\\\]*\\)*\\(/\\)"
            (4 "\"/")
            (6 "\"/"))
           ("^=en\\(d\\)\\_>" (1 "!"))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]