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
1
Issues
1
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
313b6c69
Commit
313b6c69
authored
Oct 05, 2001
by
Gerd Moellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(frame-parameter): Add a setf method.
(ignore-errors): Don't bother using a `err' symbol.
parent
3614fc84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lisp/emacs-lisp/cl-macs.el
lisp/emacs-lisp/cl-macs.el
+2
-2
No files found.
lisp/emacs-lisp/cl-macs.el
View file @
313b6c69
...
...
@@ -1587,6 +1587,7 @@ Example: (defsetf nth (n x) (v) (list 'setcar (list 'nthcdr n x) v))."
(
defsetf
frame-parameters
modify-frame-parameters
t
)
(
defsetf
frame-visible-p
cl-set-frame-visible-p
)
(
defsetf
frame-width
set-screen-width
t
)
(
defsetf
frame-parameter
set-frame-parameter
)
(
defsetf
getenv
setenv
t
)
(
defsetf
get-register
set-register
)
(
defsetf
global-key-binding
global-set-key
)
...
...
@@ -2313,8 +2314,7 @@ omitted, a default message listing FORM itself is used."
(
defmacro
ignore-errors
(
&rest
body
)
"Execute FORMS; if an error occurs, return nil.
Otherwise, return result of last FORM."
(
let
((
err
(
gensym
)))
(
list
'condition-case
err
(
cons
'progn
body
)
'
(
error
nil
))))
`
(
condition-case
nil
(
progn
,@
body
)
(
error
nil
)))
;;; Some predicates for analyzing Lisp forms. These are used by various
...
...
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