# HG changeset patch # User Glenn Morris # Date 1288591204 25200 # Node ID cb908fcc9f00b0f060d934a1fd74277311ec2db2 # Parent 7f671f436f9d1b3cd1a95eb5ec1dc88dcd772f65 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare. diff -r 7f671f436f9d -r cb908fcc9f00 lisp/ChangeLog --- a/lisp/ChangeLog Sun Oct 31 22:55:40 2010 -0700 +++ b/lisp/ChangeLog Sun Oct 31 23:00:04 2010 -0700 @@ -1,5 +1,7 @@ 2010-11-01 Glenn Morris + * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare. + * textmodes/ispell.el (comment-add): Declare. * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string): diff -r 7f671f436f9d -r cb908fcc9f00 lisp/progmodes/ruby-mode.el --- a/lisp/progmodes/ruby-mode.el Sun Oct 31 22:55:40 2010 -0700 +++ b/lisp/progmodes/ruby-mode.el Sun Oct 31 23:00:04 2010 -0700 @@ -1,7 +1,7 @@ ;;; ruby-mode.el --- Major mode for editing Ruby files -;; Copyright (C) 1994, 1995, 1996 1997, 1998, 1999, 2000, 2001, -;; 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 +;; Copyright (C) 1994, 1995, 1996 1997, 1998, 1999, 2000, 2001, 2002, +;; 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 ;; Free Software Foundation, Inc. ;; Authors: Yukihiro Matsumoto @@ -1108,6 +1108,8 @@ (if mlist (concat mlist mname) mname) mlist))))) +(declare-function ruby-syntax-propertize-heredoc "ruby-mode" (limit)) + (if (eval-when-compile (fboundp #'syntax-propertize-rules)) ;; New code that works independently from font-lock. (progn @@ -1162,7 +1164,7 @@ ;; inf-loop. (if (< (point) start) (goto-char start)))))) ) - + ;; For Emacsen where syntax-propertize-rules is not (yet) available, ;; fallback on the old font-lock-syntactic-keywords stuff. @@ -1478,5 +1480,4 @@ (provide 'ruby-mode) -;; arch-tag: e6ecc893-8005-420c-b7f9-34ab99a1fff9 ;;; ruby-mode.el ends here