]> git.eshelyaron.com Git - emacs.git/commitdiff
(screen-height, screen-width, set-screen-width, set-screen-height):
authorJuanma Barranquero <lekktu@gmail.com>
Fri, 18 Apr 2008 10:28:42 +0000 (10:28 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Fri, 18 Apr 2008 10:28:42 +0000 (10:28 +0000)
Add WHEN to obsolescence declaration.

lisp/frame.el

index 34a46dfa634b00a4ac61691d853bcad31fe8d1f8..546cf0903f398b6c4089be40c4898d83da05ba8d 100644 (file)
@@ -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))))
 \f
 ;;;; 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