Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f9923499
Commit
f9923499
authored
Jun 21, 1997
by
Richard M. Stallman
Browse files
Comment change.
parent
9dccd7ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lisp/wid-edit.el
lisp/wid-edit.el
+2
-1
No files found.
lisp/wid-edit.el
View file @
f9923499
...
@@ -2636,10 +2636,11 @@ when he invoked the menu."
...
@@ -2636,10 +2636,11 @@ when he invoked the menu."
(
concat
"Describe the `"
(
widget-get
widget
:value
)
"' symbol."
))
(
concat
"Describe the `"
(
widget-get
widget
:value
)
"' symbol."
))
(
defun
widget-documentation-link-action
(
widget
&optional
event
)
(
defun
widget-documentation-link-action
(
widget
&optional
event
)
"
Run apropos on
WIDGET's value. Ignore optional argument EVENT."
"
Display documentation for
WIDGET's value. Ignore optional argument EVENT."
(
let*
((
string
(
widget-get
widget
:value
))
(
let*
((
string
(
widget-get
widget
:value
))
(
symbol
(
intern
string
)))
(
symbol
(
intern
string
)))
(
if
(
and
(
fboundp
symbol
)
(
boundp
symbol
))
(
if
(
and
(
fboundp
symbol
)
(
boundp
symbol
))
;; If there are two doc strings, give the user a way to pick one.
(
apropos
(
concat
"\\`"
(
regexp-quote
string
)
"\\'"
))
(
apropos
(
concat
"\\`"
(
regexp-quote
string
)
"\\'"
))
(
if
(
fboundp
symbol
)
(
if
(
fboundp
symbol
)
(
describe-function
symbol
)
(
describe-function
symbol
)
...
...
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