[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r112441: * progmodes/octave.el (octav
From: |
Leo Liu |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r112441: * progmodes/octave.el (octave-syntax-propertize-function): Include |
Date: |
Fri, 03 May 2013 05:27:16 +0800 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 112441
fixes bug: http://debbugs.gnu.org/14336
committer: Leo Liu <address@hidden>
branch nick: trunk
timestamp: Fri 2013-05-03 05:27:16 +0800
message:
* progmodes/octave.el (octave-syntax-propertize-function): Include
the case when ' is at line beginning.
modified:
lisp/ChangeLog
lisp/progmodes/octave.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2013-05-02 17:47:39 +0000
+++ b/lisp/ChangeLog 2013-05-02 21:27:16 +0000
@@ -1,3 +1,8 @@
+2013-05-02 Leo Liu <address@hidden>
+
+ * progmodes/octave.el (octave-syntax-propertize-function): Include
+ the case when ' is at line beginning. (Bug#14336)
+
2013-05-02 Glenn Morris <address@hidden>
* vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
=== modified file 'lisp/progmodes/octave.el'
--- a/lisp/progmodes/octave.el 2013-05-01 17:25:03 +0000
+++ b/lisp/progmodes/octave.el 2013-05-02 21:27:16 +0000
@@ -131,7 +131,7 @@
(octave-syntax-propertize-sqs end)
(funcall (syntax-propertize-rules
;; Try to distinguish the string-quotes from the transpose-quotes.
- ("[[({,; ]\\('\\)"
+ ("\\(?:^\\|[[({,; ]\\)\\('\\)"
(1 (prog1 "\"'" (octave-syntax-propertize-sqs end)))))
(point) end))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r112441: * progmodes/octave.el (octave-syntax-propertize-function): Include,
Leo Liu <=