Emacs: Simplify php-sql to work with heredocs only
Alan Pearce alan@alanpearce.co.uk
Tue, 15 Jul 2014 20:51:04 +0100
1 files changed, 2 insertions(+), 2 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -1115,8 +1115,8 @@ :config (progn (mmm-add-classes '((php-sql :submode sql-mode - :front "\\($\\(sql\\|query\\)\\s-*=\\s-*[\"']\\|<<<SQL\\)[\r\n]+" - :back "\\([\"']\\|SQL\\);?" + :front "<<<SQL[\r\n]+" + :back "SQL;?" :face mmm-code-submode-face))) (mmm-add-mode-ext-class 'php-mode "\\.php$" 'php-sql) (mmm-add-classes