mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(save-match-data): Definition deleted.
This commit is contained in:
parent
8fb25e2680
commit
d353f8febf
1 changed files with 0 additions and 11 deletions
|
|
@ -1621,17 +1621,6 @@ If not nil and not t, move to limit of search and return nil."
|
|||
;; save point for later calls to this function
|
||||
(setq simula-find-comment-point (if end (point) -1))
|
||||
(and end (cons start end))))
|
||||
|
||||
(if (not (fboundp 'save-match-data))
|
||||
(defmacro save-match-data (&rest body)
|
||||
"Execute the BODY forms, restoring the global value of the match data."
|
||||
(let ((original (make-symbol "match-data")))
|
||||
(list
|
||||
'let (list (list original '(match-data)))
|
||||
(list 'unwind-protect
|
||||
(cons 'progn body)
|
||||
(list 'store-match-data original))))))
|
||||
|
||||
|
||||
;; defuns for submitting bug reports
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue