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
d370591d
Commit
d370591d
authored
Aug 23, 1997
by
Richard M. Stallman
Browse files
(caar, cadr, cdar, cddr): Definitions moved here and changed into defsubsts.
parent
2a21e93c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
lisp/subr.el
lisp/subr.el
+16
-0
No files found.
lisp/subr.el
View file @
d370591d
...
...
@@ -62,6 +62,22 @@ BODY should be a list of lisp expressions."
(
cons
'if
(
cons
cond
(
cons
nil
body
))))
(
put
'unless
'lisp-indent-function
1
)
(
put
'unless
'edebug-form-spec
'
(
&rest
form
))
(
defsubst
caar
(
x
)
"Return the car of the car of X."
(
car
(
car
x
)))
(
defsubst
cadr
(
x
)
"Return the car of the cdr of X."
(
car
(
cdr
x
)))
(
defsubst
cdar
(
x
)
"Return the cdr of the car of X."
(
cdr
(
car
x
)))
(
defsubst
cddr
(
x
)
"Return the cdr of the cdr of X."
(
cdr
(
cdr
x
)))
;;;; Keymap support.
...
...
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