# HG changeset patch # User Andreas Schwab # Date 1047036880 0 # Node ID 69409ac4ac20977591f091135ccc3cf16b0f3622 # Parent 7563bb4f1f97c35ec4fec6d1d718f63d2766c7d0 (Info-following-node-name): Skip trailing period. (Info-extract-menu-node-name): Allow period in node name. diff -r 7563bb4f1f97 -r 69409ac4ac20 lisp/info.el --- a/lisp/info.el Fri Mar 07 09:10:09 2003 +0000 +++ b/lisp/info.el Fri Mar 07 11:34:40 2003 +0000 @@ -1352,6 +1352,9 @@ (if (looking-at "(") (skip-chars-forward "^)"))) (skip-chars-backward " ") + ;; Skip trailing period. + (if (equal (char-before) ?.) + (forward-char -1)) (point)))) (defun Info-next () @@ -1493,7 +1496,7 @@ (if (looking-at ":") (buffer-substring-no-properties beg (1- (point))) (skip-chars-forward " \t\n") - (Info-following-node-name (if multi-line "^.,\t" "^.,\t\n")))) + (Info-following-node-name (if multi-line "^,\t" "^,\t\n")))) (replace-regexp-in-string "[ \n]+" " " str))) ;; No one calls this.