branch: elpa/lua-mode commit 5aa6f9e30017d587e5da4a13f8d84a22ccd11c35 Author: juergen <juergen> Commit: juergen <juergen>
Patch from Reuben: fix long string colouring problem --- lua-mode.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lua-mode.el b/lua-mode.el index e03a548..deadffa 100755 --- a/lua-mode.el +++ b/lua-mode.el @@ -12,7 +12,7 @@ ;; Paul Du Bois <pld-...@gelatinous.com> and ;; Aaron Smith <aaron-...@gelatinous.com>. ;; URL: http://lua-mode.luaforge.net/ -;; Version: 20100404 +;; Version: 20100617 ;; This file is NOT part of Emacs. ;; ;; This program is free software; you can redistribute it and/or @@ -875,7 +875,9 @@ This function just searches for a `end' at the beginning of a line." (setq ret nil arg 0))) (if found - (end-of-line)) + (progn + (beginning-of-line) + (forward-line))) ret)) (defun lua-start-process (name &optional program startfile &rest switches)