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
8d91bd0a
Commit
8d91bd0a
authored
Apr 18, 2008
by
Juanma Barranquero
Browse files
(screen-height, screen-width, set-screen-width, set-screen-height):
Add WHEN to obsolescence declaration.
parent
7ee5f414
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
lisp/frame.el
lisp/frame.el
+4
-4
No files found.
lisp/frame.el
View file @
8d91bd0a
...
...
@@ -1395,8 +1395,8 @@ the opposite frame edge from the edge indicated in the input spec."
(
cons
(
car
spec
)
(
frame-geom-value-cons
(
car
spec
)
(
cdr
spec
))))
;;;; Aliases for backward compatibility with Emacs 18.
(
define-obsolete-function-alias
'screen-height
'frame-height
)
;before 19.15
(
define-obsolete-function-alias
'screen-width
'frame-width
)
;before 19.15
(
define-obsolete-function-alias
'screen-height
'frame-height
"19.7"
)
(
define-obsolete-function-alias
'screen-width
'frame-width
"19.7"
)
(
defun
set-screen-width
(
cols
&optional
pretend
)
"Change the size of the screen to COLS columns.
...
...
@@ -1432,8 +1432,8 @@ left untouched. FRAME nil or omitted means use the selected frame."
(
when
(
eq
(
frame-parameter
frame
'minibuffer
)
'only
)
(
delete-frame
frame
)))))
(
make-obsolete
'set-screen-width
'set-frame-width
)
;before 19.15
(
make-obsolete
'set-screen-height
'set-frame-height
)
;before 19.15
(
make-obsolete
'set-screen-width
'set-frame-width
"19.7"
)
(
make-obsolete
'set-screen-height
'set-frame-height
"19.7"
)
;; miscellaneous obsolescence declarations
(
define-obsolete-variable-alias
'delete-frame-hook
...
...
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