Mercurial > emacs
changeset 21168:3b9934a8d938
(simula-match-string-or-comment): store-match-data => set-match-data.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 14 Mar 1998 04:53:37 +0000 |
parents | 1d2bd6adba38 |
children | 422a28894f3a |
files | lisp/progmodes/simula.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/simula.el Sat Mar 14 04:53:12 1998 +0000 +++ b/lisp/progmodes/simula.el Sat Mar 14 04:53:37 1998 +0000 @@ -1703,7 +1703,7 @@ limit t) (when (match-beginning 3) ;; We've matched an end-comment. Yuck. Find the extent of it. - (store-match-data + (set-match-data (list (point) (if (re-search-forward "\\<\\(end\\|else\\|when\\|otherwise\\)\\>\\|;" limit 'move)