From: Richard M. Stallman Date: Thu, 27 Jul 1995 22:04:24 +0000 (+0000) Subject: (texinfo-specific-section-type): Use buffer-substring-no-properties. X-Git-Tag: emacs-19.34~3162 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7007e1e37012654ef368a869166e23f773f8a26a;p=emacs.git (texinfo-specific-section-type): Use buffer-substring-no-properties. --- diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el index f84cdd51496..b46387dd11b 100644 --- a/lisp/textmodes/texnfo-upd.el +++ b/lisp/textmodes/texnfo-upd.el @@ -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."))))))