branch: externals/auctex-label-numbers
commit 38f3bc735d83c340664d5dfbd0931fe733bbdd8a
Author: Paul Nelson <ultr...@gmail.com>
Commit: Paul Nelson <ultr...@gmail.com>

    fix regexp pattern
    
    "\\n" matches "n", so the error didn't actually affect functionality
---
 tex-numbers.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tex-numbers.el b/tex-numbers.el
index 81b99d9418..8c6e7d51de 100644
--- a/tex-numbers.el
+++ b/tex-numbers.el
@@ -53,7 +53,7 @@ Return the updated cache, or nil if the aux file does not 
exist."
     (with-temp-buffer
       (insert-file-contents aux-file)
       (let ((cache (make-hash-table :test 'equal))
-            (pattern "\\newlabel{\\([^}]+\\)}{{\\([^}]+\\)}"))
+            (pattern "\\\\newlabel{\\([^}]+\\)}{{\\([^}]+\\)}"))
         (save-excursion
           (goto-char (point-min))
           (while (re-search-forward pattern nil t)

Reply via email to