# HG changeset patch # User Richard M. Stallman # Date 814552612 0 # Node ID f25084d297195da6d99805df9b0dcf67d4b901fd # Parent b4d36420c8378830d5ff7c6b6fa6fa9e8078b62b (Info-following-node-name, Info-extract-menu-node-name) (Info-select-node): Use buffer-substring-no-properties. diff -r b4d36420c837 -r f25084d29719 lisp/info.el --- a/lisp/info.el Tue Oct 24 16:29:45 1995 +0000 +++ b/lisp/info.el Tue Oct 24 16:36:52 1995 +0000 @@ -582,10 +582,10 @@ ;; Get nodename spelled as it is in the node. (re-search-forward "Node:[ \t]*") (setq Info-current-node - (buffer-substring (point) - (progn - (skip-chars-forward "^,\t\n") - (point)))) + (buffer-substring-no-properties (point) + (progn + (skip-chars-forward "^,\t\n") + (point)))) (Info-set-mode-line) ;; Find the end of it, and narrow. (beginning-of-line) @@ -792,7 +792,7 @@ ;; saying which chas may appear in the node name. (defun Info-following-node-name (&optional allowedchars) (skip-chars-forward " \t") - (buffer-substring + (buffer-substring-no-properties (point) (progn (while (looking-at (concat "[" (or allowedchars "^,\t\n") "]")) @@ -916,7 +916,7 @@ (forward-char 1) (setq str (if (looking-at ":") - (buffer-substring beg (1- (point))) + (buffer-substring-no-properties beg (1- (point))) (skip-chars-forward " \t\n") (Info-following-node-name (if multi-line "^.,\t" "^.,\t\n")))) (while (setq i (string-match "\n" str i))