Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b0ebdfe5
Commit
b0ebdfe5
authored
Jun 08, 1993
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Info-follow-reference): Fix completion defaulting.
parent
6028d553
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
lisp/info.el
lisp/info.el
+7
-5
No files found.
lisp/info.el
View file @
b0ebdfe5
...
...
@@ -661,11 +661,13 @@ NAME may be an abbreviation of the reference name."
(
cons
(
cons
str
nil
)
completions
))))
(
if
completions
(
list
(
completing-read
(
if
default
(
concat
"Follow reference named: ("
default
") "
)
"Follow reference named: "
)
completions
default
t
))
(
let
((
input
(
completing-read
(
if
default
(
concat
"Follow reference named: ("
default
") "
)
"Follow reference named: "
)
completions
nil
t
)))
(
list
(
if
(
equal
input
""
)
default
input
)))
(
error
"No cross-references in this node"
))))
(
let
(
target
beg
i
(
str
(
concat
"\\*note "
footnotename
)))
(
while
(
setq
i
(
string-match
" "
str
i
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment