From: Glenn Morris Date: Fri, 24 May 2013 03:49:52 +0000 (-0700) Subject: * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~213 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dab49a3b21719437d72eb5d2e83cd0388abc4ec3;p=emacs.git * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 16dc5bf581b..0919e5c3c64 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2013-05-24 Glenn Morris + * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare. + * progmodes/which-func.el (ediff-window-A, ediff-window-B) (ediff-window-C): Declare. diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 629d5206331..a96ee64a229 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -1347,6 +1347,8 @@ If the result is do-end block, it will always be multiline." (declare-function ruby-syntax-propertize-heredoc "ruby-mode" (limit)) (declare-function ruby-syntax-enclosing-percent-literal "ruby-mode" (limit)) (declare-function ruby-syntax-propertize-percent-literal "ruby-mode" (limit)) +;; Unusual code layout confuses the byte-compiler. +(declare-function ruby-syntax-propertize-expansion "ruby-mode" ()) (if (eval-when-compile (fboundp #'syntax-propertize-rules)) ;; New code that works independently from font-lock.