From: Richard M. Stallman Date: Sat, 14 Mar 1998 04:53:37 +0000 (+0000) Subject: (simula-match-string-or-comment): store-match-data => set-match-data. X-Git-Tag: emacs-20.3~1906 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=aded9c1ea2647e2d232b1e3b8a8c050461c12539;p=emacs.git (simula-match-string-or-comment): store-match-data => set-match-data. --- diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el index 9ea3d52836c..ec01c1e77db 100644 --- a/lisp/progmodes/simula.el +++ b/lisp/progmodes/simula.el @@ -1703,7 +1703,7 @@ If not nil and not t, move to limit of search and return nil." 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)