diff options
| -rw-r--r-- | lisp/textmodes/texnfo-upd.el | 9 |
1 files changed, 5 insertions, 4 deletions
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." | |||
| 1001 | t) | 1001 | t) |
| 1002 | "top") | 1002 | "top") |
| 1003 | ((re-search-forward texinfo-section-types-regexp nil t) | 1003 | ((re-search-forward texinfo-section-types-regexp nil t) |
| 1004 | (buffer-substring (progn (beginning-of-line) ; copy its name | 1004 | (buffer-substring-no-properties |
| 1005 | (1+ (point))) | 1005 | (progn (beginning-of-line) ; copy its name |
| 1006 | (progn (forward-word 1) | 1006 | (1+ (point))) |
| 1007 | (point)))) | 1007 | (progn (forward-word 1) |
| 1008 | (point)))) | ||
| 1008 | (t | 1009 | (t |
| 1009 | (error | 1010 | (error |
| 1010 | "texinfo-specific-section-type: Chapter or section not found.")))))) | 1011 | "texinfo-specific-section-type: Chapter or section not found.")))))) |