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
ca5ed196
Commit
ca5ed196
authored
Oct 21, 1994
by
Richard M. Stallman
Browse files
(describe-function-find-file): New function.
(describe-function): Use that.
parent
6f6bfb85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
lisp/help.el
lisp/help.el
+15
-5
No files found.
lisp/help.el
View file @
ca5ed196
...
...
@@ -369,6 +369,15 @@ C-w print information on absence of warranty for GNU Emacs."
(
and
(
symbolp
obj
)
(
fboundp
obj
)
obj
)))
(
error
nil
))))
(
defun
describe-function-find-file
(
function
)
(
let
((
files
load-history
)
file
functions
)
(
while
files
(
if
(
memq
function
(
cdr
(
car
files
)))
(
setq
file
(
car
(
car
files
))
files
nil
))
(
setq
files
(
cdr
files
)))
file
))
(
defun
describe-function
(
function
)
"Display the full documentation of FUNCTION (a symbol)."
(
interactive
...
...
@@ -409,11 +418,12 @@ C-w print information on absence of warranty for GNU Emacs."
;;; (nth 1 def)
))
(
t
""
)))
(
if
(
get
function
'autoload
)
(
progn
(
princ
" in the `"
)
(
princ
(
car
(
get
function
'autoload
)))
(
princ
"' package"
)))
(
let
((
file
(
describe-function-find-file
function
)))
(
if
file
(
progn
(
princ
" in `"
)
(
princ
file
)
(
princ
".el'"
))))
(
princ
"."
)
(
terpri
)
(
let
((
arglist
(
cond
((
byte-code-function-p
def
)
...
...
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