* lisp/progmodes/ruby-mode.el (ruby-syntax-methods-before-regexp): New const.
[bpt/emacs.git] / lisp / ChangeLog
index 285e69d..875ab5d 100644 (file)
@@ -1,3 +1,24 @@
+2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
+       (ruby-percent-literal-beg-re): New constant.
+       (ruby-syntax-general-delimiters-goto-beg): Rename to
+       `ruby-syntax-enclosing-percent-literal', improve literal type check.
+       (ruby-syntax-propertize-general-delimiters): Rename to
+       `ruby-syntax-propertize-percent-literal', it's a shorter and more
+       popular term.  Adjust comments everywhere.
+       (ruby-syntax-propertize-percent-literal): Only propertize when not
+       inside a simple string or comment.  When the literal is unclosed,
+       leave the text after it unpropertized.
+       (ruby-syntax-methods-before-regexp): New constant.
+       (ruby-syntax-propertize-function): Use it to recognize regexps.
+       Don't look at the text after regexp, just use the whitelist.
+
+2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
+       non-nil always load the compiled file if it exists.  (Bug#12197)
+
 2012-08-14  Chong Yidong  <cyd@gnu.org>
 
        * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
@@ -17,8 +38,8 @@
        Use `completion-table-dynamic' for completion functions.
        * progmodes/python.el
        (python-shell-completion--do-completion-at-point)
-       (python-shell-completion--get-completions): Remove
-       functions.
+       (python-shell-completion--get-completions):
+       Remove functions.
        (python-shell-completion-complete-at-point): New function.
        (python-completion-complete-at-point): Use it.