emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r100967: * lisp/frame.el (screen-heig


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r100967: * lisp/frame.el (screen-height, screen-width, set-screen-width)
Date: Tue, 03 Aug 2010 00:35:38 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100967
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Tue 2010-08-03 00:35:38 +0200
message:
  * lisp/frame.el (screen-height, screen-width, set-screen-width)
  (set-screen-height): Remove ancient compatibility aliases.
modified:
  lisp/ChangeLog
  lisp/frame.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-08-02 10:25:27 +0000
+++ b/lisp/ChangeLog    2010-08-02 22:35:38 +0000
@@ -1,5 +1,8 @@
 2010-08-02  Stefan Monnier  <address@hidden>
 
+       * frame.el (screen-height, screen-width, set-screen-width)
+       (set-screen-height): Remove ancient compatibility aliases.
+
        * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
        when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
 

=== modified file 'lisp/frame.el'
--- a/lisp/frame.el     2010-07-13 17:02:27 +0000
+++ b/lisp/frame.el     2010-08-02 22:35:38 +0000
@@ -1431,23 +1431,6 @@
 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 "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.
-Optional second arg non-nil means that redisplay should use COLS columns
-but that the idea of the actual width of the frame should not be changed.
-This function is provided only for compatibility with Emacs 18."
-  (set-frame-width (selected-frame) cols pretend))
-
-(defun set-screen-height (lines &optional pretend)
-  "Change the height of the screen to LINES lines.
-Optional second arg non-nil means that redisplay should use LINES lines
-but that the idea of the actual height of the screen should not be changed.
-This function is provided only for compatibility with Emacs 18."
-  (set-frame-height (selected-frame) lines pretend))
 
 (defun delete-other-frames (&optional frame)
   "Delete all frames except FRAME.
@@ -1473,9 +1456,6 @@
       (when (eq (frame-parameter frame 'minibuffer) 'only)
        (delete-frame frame)))))
 
-(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
     'delete-frame-functions "22.1")


reply via email to

[Prev in Thread] Current Thread [Next in Thread]