From: Glenn Morris Date: Mon, 1 Nov 2010 06:00:04 +0000 (-0700) Subject: * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~45^2~422^2~7 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f4ff702e2816f5756964ea6e81687f2aa8cc4a38;p=emacs.git * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6ccc7752385..b0e35abc58d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index af68699f2a4..fcd0242a10d 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el @@ -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 @@ See `add-log-current-defun-function'." (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 @@ See `add-log-current-defun-function'." ;; 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 @@ The variable `ruby-indent-level' controls the amount of indentation. (provide 'ruby-mode) -;; arch-tag: e6ecc893-8005-420c-b7f9-34ab99a1fff9 ;;; ruby-mode.el ends here