Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
1bacc93e
Commit
1bacc93e
authored
Oct 16, 1997
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(describe-variable): Pass default value to completing-read.
(describe-function): Likewise.
parent
1577a8fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/help.el
lisp/help.el
+2
-2
No files found.
lisp/help.el
View file @
1bacc93e
...
...
@@ -515,7 +515,7 @@ C-w Display information on absence of warranty for GNU Emacs."
(
setq
val
(
completing-read
(
if
fn
(
format
"Describe function (default %s): "
fn
)
"Describe function: "
)
obarray
'fboundp
t
))
obarray
'fboundp
t
nil
nil
(
symbol-name
fn
)
))
(
list
(
if
(
equal
val
""
)
fn
(
intern
val
)))))
(
if
function
...
...
@@ -614,7 +614,7 @@ Returns the documentation as a string, also."
(
setq
val
(
completing-read
(
if
(
symbolp
v
)
(
format
"Describe variable (default %s): "
v
)
"Describe variable: "
)
obarray
'boundp
t
))
obarray
'boundp
t
nil
nil
(
symbol-name
v
)
))
(
list
(
if
(
equal
val
""
)
v
(
intern
val
)))))
(
if
(
symbolp
variable
)
...
...
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