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
6f6bfb85
Commit
6f6bfb85
authored
Oct 21, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(describe-function): Mention the file it was loaded from.
parent
9fe320f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
lisp/help.el
lisp/help.el
+14
-8
No files found.
lisp/help.el
View file @
6f6bfb85
...
...
@@ -388,27 +388,33 @@ C-w print information on absence of warranty for GNU Emacs."
(
beg
(
if
(
commandp
def
)
"an interactive "
"a "
)))
(
princ
(
cond
((
or
(
stringp
def
)
(
vectorp
def
))
"a keyboard macro
.
"
)
"a keyboard macro"
)
((
subrp
def
)
(
concat
beg
"built-in function
.
"
))
(
concat
beg
"built-in function"
))
((
byte-code-function-p
def
)
(
concat
beg
"compiled Lisp function
.
"
))
(
concat
beg
"compiled Lisp function"
))
((
symbolp
def
)
(
format
"alias for `%s'
.
"
def
))
(
format
"alias for `%s'"
def
))
((
eq
(
car-safe
def
)
'lambda
)
(
concat
beg
"Lisp function
.
"
))
(
concat
beg
"Lisp function"
))
((
eq
(
car-safe
def
)
'macro
)
"a Lisp macro
.
"
)
"a Lisp macro"
)
((
eq
(
car-safe
def
)
'mocklisp
)
"a mocklisp function
.
"
)
"a mocklisp function"
)
((
eq
(
car-safe
def
)
'autoload
)
(
format
"%s autoloaded Lisp %s
.
"
(
format
"%s autoloaded Lisp %s"
(
if
(
commandp
def
)
"an interactive"
"an"
)
(
if
(
nth
4
def
)
"macro"
"function"
)
;;; Including the file name made this line too long.
;;; (nth 1 def)
))
(
t
""
)))
(
if
(
get
function
'autoload
)
(
progn
(
princ
" in the `"
)
(
princ
(
car
(
get
function
'autoload
)))
(
princ
"' package"
)))
(
princ
"."
)
(
terpri
)
(
let
((
arglist
(
cond
((
byte-code-function-p
def
)
(
car
(
append
def
nil
)))
...
...
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