Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
89fdaac7
Commit
89fdaac7
authored
Jan 27, 2011
by
Stefan Monnier
Browse files
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function):
Copy change made to ruby-font-lock-syntactic-keywords.
parent
153c5428
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/progmodes/ruby-mode.el
lisp/progmodes/ruby-mode.el
+1
-1
No files found.
lisp/ChangeLog
View file @
89fdaac7
2011-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
* 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.
...
...
lisp/progmodes/ruby-mode.el
View file @
89fdaac7
...
...
@@ -1129,7 +1129,7 @@ See `add-log-current-defun-function'."
(
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
"!"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment