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
157e8cfd
Commit
157e8cfd
authored
May 02, 2014
by
Leo Liu
Browse files
* emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
parent
d136f184
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/cl-macs.el
+1
-1
No files found.
lisp/ChangeLog
View file @
157e8cfd
2014-05-02 Leo Liu <sdl.web@gmail.com>
* emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2014-05-01 Glenn Morris <rgm@gnu.org>
* allout-widgets.el (allout-widgets-tally)
...
...
lisp/emacs-lisp/cl-macs.el
View file @
157e8cfd
...
...
@@ -2585,7 +2585,7 @@ non-nil value, that slot cannot be set via `setf'.
(
defmacro
cl-deftype
(
name
arglist
&rest
body
)
"Define NAME as a new data type.
The type name can then be used in `cl-typecase', `cl-check-type', etc."
(
declare
(
debug
cl-defmacro
)
(
doc-string
3
))
(
declare
(
debug
cl-defmacro
)
(
doc-string
3
)
(
indent
2
)
)
`
(
cl-eval-when
(
compile
load
eval
)
(
put
',name
'cl-deftype-handler
(
cl-function
(
lambda
(
&cl-defs
'
(
'*
)
,@
arglist
)
,@
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