aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-03-31 00:20:38 -0700
committerGlenn Morris2011-03-31 00:20:38 -0700
commite040639fd98db525bb4e36268a057fc6c2f6c0ae (patch)
treee207f6c094eaefcc38fcf658304cf7a35562977f
parentcba6e77ef313ae7caa6a3aedc26ee1dd513a570c (diff)
downloademacs-e040639fd98db525bb4e36268a057fc6c2f6c0ae.tar.gz
emacs-e040639fd98db525bb4e36268a057fc6c2f6c0ae.zip
* lisp/progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/progmodes/f90.el2
2 files changed, 3 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cb71b40e067..933eb2bd94e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12011-03-31 Glenn Morris <rgm@gnu.org> 12011-03-31 Glenn Morris <rgm@gnu.org>
2 2
3 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
4
3 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords. 5 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
4 6
52011-03-30 Christoph Scholtes <cschol2112@googlemail.com> 72011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index ed745ae784e..232299da4db 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -2203,7 +2203,7 @@ CHANGE-WORD should be one of 'upcase-word, 'downcase-word, 'capitalize-word."
2203 (let ((tag (find-tag-default))) 2203 (let ((tag (find-tag-default)))
2204 (or (and tag 2204 (or (and tag
2205 ;; See bug#7919. TODO I imagine there are other cases...? 2205 ;; See bug#7919. TODO I imagine there are other cases...?
2206 (string-match "%\\(.+\\)" tag) 2206 (string-match "%\\([^%]+\\)\\'" tag)
2207 (match-string-no-properties 1 tag)) 2207 (match-string-no-properties 1 tag))
2208 tag))) 2208 tag)))
2209 2209