Mercurial > emacs
changeset 12698:e04324240c6b
(texinfo-specific-section-type): Use buffer-substring-no-properties.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 27 Jul 1995 22:04:24 +0000 |
parents | 9ebf33d6d07c |
children | d0f4113de2ea |
files | lisp/textmodes/texnfo-upd.el |
diffstat | 1 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/texnfo-upd.el Thu Jul 27 21:47:59 1995 +0000 +++ b/lisp/textmodes/texnfo-upd.el Thu Jul 27 22:04:24 1995 +0000 @@ -1001,10 +1001,11 @@ 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."))))))