]> git.eshelyaron.com Git - emacs.git/commitdiff
(texinfo-specific-section-type): Use buffer-substring-no-properties.
authorRichard M. Stallman <rms@gnu.org>
Thu, 27 Jul 1995 22:04:24 +0000 (22:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 27 Jul 1995 22:04:24 +0000 (22:04 +0000)
lisp/textmodes/texnfo-upd.el

index f84cdd51496658e7920515cab1aedf199e867942..b46387dd11be5411b118f67cfc661503710031de 100644 (file)
@@ -1001,10 +1001,11 @@ error if the node is not the top node and a section is not found."
                            t)
         "top")
        ((re-search-forward texinfo-section-types-regexp nil t)
-        (buffer-substring (progn (beginning-of-line) ; copy its name
-                                 (1+ (point)))
-                          (progn (forward-word 1)
-                                 (point))))
+        (buffer-substring-no-properties
+        (progn (beginning-of-line) ; copy its name
+               (1+ (point)))
+        (progn (forward-word 1)
+               (point))))
        (t
         (error
          "texinfo-specific-section-type: Chapter or section not found."))))))