comparison lisp/info.el @ 49465:e97c1fa39f09

(Info-extract-menu-node-name): Fix 2003-01-24 change. Don't search for next colon if current colon is followed by one of ".", ",", ";", or ")".
author Kim F. Storm <storm@cua.dk>
date Sun, 26 Jan 2003 17:51:53 +0000
parents 7ac32aa920b9
children c057b532bd92
comparison
equal deleted inserted replaced
49464:d7547cf75d28 49465:e97c1fa39f09
1482 1482
1483 (defun Info-extract-menu-node-name (&optional errmessage multi-line) 1483 (defun Info-extract-menu-node-name (&optional errmessage multi-line)
1484 (skip-chars-forward " \t\n") 1484 (skip-chars-forward " \t\n")
1485 (let ((beg (point)) 1485 (let ((beg (point))
1486 str i) 1486 str i)
1487 (while (not (looking-at ":*[ \n]")) 1487 (while (not (looking-at ":*[,.;) \n]"))
1488 (skip-chars-forward "^:") 1488 (skip-chars-forward "^:")
1489 (forward-char 1)) 1489 (forward-char 1))
1490 (setq str 1490 (setq str
1491 (if (looking-at ":") 1491 (if (looking-at ":")
1492 (buffer-substring-no-properties beg (1- (point))) 1492 (buffer-substring-no-properties beg (1- (point)))