# HG changeset patch # User Richard M. Stallman # Date 806882664 0 # Node ID e04324240c6b4b47f593d1e8e5895c64ed10a0e4 # Parent 9ebf33d6d07c2dec3fc1666c025f2c318fd37508 (texinfo-specific-section-type): Use buffer-substring-no-properties. diff -r 9ebf33d6d07c -r e04324240c6b lisp/textmodes/texnfo-upd.el --- 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."))))))