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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
6c203822
Commit
6c203822
authored
May 27, 2014
by
Glenn Morris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/subr.el (zerop): Move later so bootstrap works.
parent
1af6db7d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
lisp/subr.el
lisp/subr.el
+7
-6
No files found.
lisp/subr.el
View file @
6c203822
...
...
@@ -335,12 +335,6 @@ configuration."
(
and
(
consp
object
)
(
eq
(
car
object
)
'frame-configuration
)))
(
defun
zerop
(
number
)
"Return t if NUMBER is zero."
;; Used to be in C, but it's pointless since (= 0 n) is faster anyway because
;; = has a byte-code.
(
declare
(
compiler-macro
(
lambda
(
_
)
`
(
=
0
,
number
))))
(
=
0
number
))
;;;; List functions.
...
...
@@ -389,6 +383,13 @@ If N is omitted or nil, remove the last element."
(
if
(
>
n
0
)
(
setcdr
(
nthcdr
(
-
(
1-
m
)
n
)
list
)
nil
))
list
))))
(
defun
zerop
(
number
)
"Return t if NUMBER is zero."
;; Used to be in C, but it's pointless since (= 0 n) is faster anyway because
;; = has a byte-code.
(
declare
(
compiler-macro
(
lambda
(
_
)
`
(
=
0
,
number
))))
(
=
0
number
))
(
defun
delete-dups
(
list
)
"Destructively remove `equal' duplicates from LIST.
Store the result in LIST and return it. LIST must be a proper list.
...
...
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