diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/progmodes/simula.el | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el index 661fc68f45e..31cae0b0fc5 100644 --- a/lisp/progmodes/simula.el +++ b/lisp/progmodes/simula.el | |||
| @@ -1621,17 +1621,6 @@ If not nil and not t, move to limit of search and return nil." | |||
| 1621 | ;; save point for later calls to this function | 1621 | ;; save point for later calls to this function |
| 1622 | (setq simula-find-comment-point (if end (point) -1)) | 1622 | (setq simula-find-comment-point (if end (point) -1)) |
| 1623 | (and end (cons start end)))) | 1623 | (and end (cons start end)))) |
| 1624 | |||
| 1625 | (if (not (fboundp 'save-match-data)) | ||
| 1626 | (defmacro save-match-data (&rest body) | ||
| 1627 | "Execute the BODY forms, restoring the global value of the match data." | ||
| 1628 | (let ((original (make-symbol "match-data"))) | ||
| 1629 | (list | ||
| 1630 | 'let (list (list original '(match-data))) | ||
| 1631 | (list 'unwind-protect | ||
| 1632 | (cons 'progn body) | ||
| 1633 | (list 'store-match-data original)))))) | ||
| 1634 | |||
| 1635 | 1624 | ||
| 1636 | ;; defuns for submitting bug reports | 1625 | ;; defuns for submitting bug reports |
| 1637 | 1626 | ||