Mercurial > emacs
changeset 111298:cb908fcc9f00
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 31 Oct 2010 23:00:04 -0700 |
parents | 7f671f436f9d |
children | d1cffc3c49f5 |
files | lisp/ChangeLog lisp/progmodes/ruby-mode.el |
diffstat | 2 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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 <rgm@gnu.org> + * 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):
--- 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