comparison lisp/textmodes/reftex.el @ 21170:dbe101f49d57

(reftex-nearest-match): store-match-data => set-match-data.
author Richard M. Stallman <rms@gnu.org>
date Sat, 14 Mar 1998 04:55:19 +0000
parents 60e882bbb28b
children f718f5a51f59
comparison
equal deleted inserted replaced
21169:422a28894f3a 21170:dbe101f49d57
5199 (cond 5199 (cond
5200 ((not match1) match2) 5200 ((not match1) match2)
5201 ((not match2) match1) 5201 ((not match2) match1)
5202 ((< (abs (- pos (car match1))) (abs (- pos (car match2)))) match1) 5202 ((< (abs (- pos (car match1))) (abs (- pos (car match2)))) match1)
5203 (t match2))) 5203 (t match2)))
5204 (if match (progn (store-match-data match) t) nil))) 5204 (if match (progn (set-match-data match) t) nil)))
5205 5205
5206 (defun reftex-auto-mode-alist () 5206 (defun reftex-auto-mode-alist ()
5207 ;; Return an `auto-mode-alist' with only the .gz (etc) thingies. 5207 ;; Return an `auto-mode-alist' with only the .gz (etc) thingies.
5208 ;; Stolen from gnus nnheader. 5208 ;; Stolen from gnus nnheader.
5209 (let ((alist auto-mode-alist) 5209 (let ((alist auto-mode-alist)