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
34fcfc5c
Commit
34fcfc5c
authored
Dec 22, 2017
by
Eli Zaretskii
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/emacs-lisp/inline.el (define-inline): Add a doc string.
parent
f7a62c2b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
lisp/emacs-lisp/inline.el
lisp/emacs-lisp/inline.el
+4
-0
No files found.
lisp/emacs-lisp/inline.el
View file @
34fcfc5c
...
...
@@ -124,6 +124,10 @@ After VARS is handled, BODY is evaluated in the new environment."
;;;###autoload
(
defmacro
define-inline
(
name
args
&rest
body
)
"Define an inline function NAME with arguments ARGS and body in BODY.
This is like `defmacro', but has several advantages.
See Info node `(elisp)Defining Functions' for more details."
;; FIXME: How can this work with CL arglists?
(
declare
(
indent
defun
)
(
debug
defun
)
(
doc-string
3
))
(
let
((
doc
(
if
(
stringp
(
car-safe
body
))
(
list
(
pop
body
))))
...
...
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