projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba6e77
)
* lisp/progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
author
Glenn Morris
<rgm@gnu.org>
Thu, 31 Mar 2011 07:20:38 +0000
(
00:20
-0700)
committer
Glenn Morris
<rgm@gnu.org>
Thu, 31 Mar 2011 07:20:38 +0000
(
00:20
-0700)
lisp/ChangeLog
patch
|
blob
|
history
lisp/progmodes/f90.el
patch
|
blob
|
history
diff --git
a/lisp/ChangeLog
b/lisp/ChangeLog
index cb71b40e0675926a778b7a3019c788261b50a266..933eb2bd94e89efb7723afd20693068df15e6187 100644
(file)
--- a/
lisp/ChangeLog
+++ b/
lisp/ChangeLog
@@
-1,5
+1,7
@@
2011-03-31 Glenn Morris <rgm@gnu.org>
+ * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
+
* generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
diff --git
a/lisp/progmodes/f90.el
b/lisp/progmodes/f90.el
index ed745ae784e2744204b205f61b5b9555ea96a5e1..232299da4dbe96c7d55a53e18f49caef63463f95 100644
(file)
--- 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."
(let ((tag (find-tag-default)))
(or (and tag
;; See bug#7919. TODO I imagine there are other cases...?
- (string-match "%\\(
.+\\)
" tag)
+ (string-match "%\\(
[^%]+\\)\\'
" tag)
(match-string-no-properties 1 tag))
tag)))