From dab49a3b21719437d72eb5d2e83cd0388abc4ec3 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Thu, 23 May 2013 20:49:52 -0700 Subject: [PATCH] * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare. --- lisp/ChangeLog | 2 ++ lisp/progmodes/ruby-mode.el | 2 ++ 2 files changed, 4 insertions(+) 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. -- 2.39.2