[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r102201: * lisp/progmodes/ruby-mode.e
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r102201: * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare. |
Date: |
Sun, 31 Oct 2010 23:00:04 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 102201
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sun 2010-10-31 23:00:04 -0700
message:
* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
modified:
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-11-01 05:55:40 +0000
+++ b/lisp/ChangeLog 2010-11-01 06:00:04 +0000
@@ -1,5 +1,7 @@
2010-11-01 Glenn Morris <address@hidden>
+ * 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):
=== modified file 'lisp/progmodes/ruby-mode.el'
--- a/lisp/progmodes/ruby-mode.el 2010-10-27 14:26:01 +0000
+++ b/lisp/progmodes/ruby-mode.el 2010-11-01 06:00:04 +0000
@@ -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r102201: * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.,
Glenn Morris <=