|
From: | Kim F. Storm |
Subject: | Inefficient code in reftex-index.el |
Date: | Mon, 06 Jun 2005 14:08:59 +0200 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
I noticed the following code in reftex-index.el: (condition-case nil (texmathp) (error nil)))) (setq beg (car (match-data)) end (nth 1 (match-data))) Using match-data like that seems inefficient. I suggtest using match-beginning/match-end instead. -- Kim F. Storm <address@hidden> http://www.cua.dk
[Prev in Thread] | Current Thread | [Next in Thread] |