]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-search): Save match data for isearch. Skip Tag Table node.
authorJuri Linkov <juri@jurta.org>
Thu, 11 Nov 2004 21:45:57 +0000 (21:45 +0000)
committerJuri Linkov <juri@jurta.org>
Thu, 11 Nov 2004 21:45:57 +0000 (21:45 +0000)
lisp/ChangeLog
lisp/info.el

index df4c5c51e7a964229270f2790d491ff8a98d6955..23ab5b5d4ef45e18794c22eae9f2b460f83d0b23 100644 (file)
@@ -1,3 +1,17 @@
+2004-11-11  Juri Linkov  <juri@jurta.org>
+
+       * info.el (Info-search): Save match data for isearch.
+       Skip Tag Table node.
+
+       * descr-text.el (describe-char): Replace syntax-after with code
+       from its previous version.
+
+       * files.el (magic-mode-alist): Use optimization for SGML mode too.
+       (set-auto-mode): Doc fix.  Remove unused variable `xml'.
+
+       * international/mule.el (sgml-html-meta-auto-coding-function):
+       Remove > after <html to allow HTML attributes.
+
 2004-11-11  Jay Belanger  <belanger@truman.edu>
 
        * calc/calc-comb.el (math-prime-factors-finished):  Declared it as
index baeec935ee76eb07ee5c80ad7eb37adb269fd119..cc7ed2ae59b26939cf2a6ce445d262c465cd4d9e 100644 (file)
@@ -1484,13 +1484,18 @@ If DIRECTION is `backward', search in the reverse direction."
                                (1- (point)))
                              (point-max)))
          (while (and (not give-up)
-                     (or (null found)
-                         (if backward
-                              (isearch-range-invisible found beg-found)
-                            (isearch-range-invisible beg-found found))
-                          ;; Skip node header line
-                          (save-excursion (forward-line -1)
-                                          (looking-at "\^_"))))
+                     (save-match-data
+                       (or (null found)
+                           (if backward
+                               (isearch-range-invisible found beg-found)
+                             (isearch-range-invisible beg-found found))
+                           ;; Skip node header line
+                           (save-excursion (forward-line -1)
+                                           (looking-at "\^_"))
+                           ;; Skip Tag Table node
+                           (save-excursion
+                             (and (search-backward "\^_" nil t)
+                                  (looking-at "\^_\nTag Table"))))))
            (if (if backward
                     (re-search-backward regexp bound t)
                   (re-search-forward regexp bound t))
@@ -1552,13 +1557,18 @@ If DIRECTION is `backward', search in the reverse direction."
                (setq list (cdr list))
                (setq give-up nil found nil)
                (while (and (not give-up)
-                           (or (null found)
-                               (if backward
-                                    (isearch-range-invisible found beg-found)
-                                  (isearch-range-invisible beg-found found))
-                                ;; Skip node header line
-                                (save-excursion (forward-line -1)
-                                                (looking-at "\^_"))))
+                           (save-match-data
+                             (or (null found)
+                                 (if backward
+                                     (isearch-range-invisible found beg-found)
+                                   (isearch-range-invisible beg-found found))
+                                 ;; Skip node header line
+                                 (save-excursion (forward-line -1)
+                                                 (looking-at "\^_"))
+                                 ;; Skip Tag Table node
+                                 (save-excursion
+                                   (and (search-backward "\^_" nil t)
+                                        (looking-at "\^_\nTag Table"))))))
                  (if (if backward
                           (re-search-backward regexp nil t)
                         (re-search-forward regexp nil t))