Commit c1269e71 authored by Stefan Kangas's avatar Stefan Kangas

Remove some XEmacs compat code from ediff-wind.el

* lisp/vc/ediff-wind.el (ediff-window)
(ediff-compute-toolbar-width): Remove some XEmacs compat code.
parent 430eb2f8
......@@ -42,13 +42,6 @@
(require 'ediff-help)
;; end pacifier
;; be careful with ediff-tbar
(if (featurep 'xemacs)
(require 'ediff-tbar)
(defun ediff-compute-toolbar-width () 0)))
(defgroup ediff-window nil
"Ediff window manipulation."
:prefix "ediff-"
......@@ -961,8 +954,7 @@ create a new splittable frame if none is found."
;; 1 more line for the mode line
(setq lines (1+ (count-lines (point-min) (point-max)))
fheight lines
fwidth (max (+ (ediff-help-message-line-length) 2)
fwidth (max (+ (ediff-help-message-line-length) 2) 0)
;; possibly change surrogate minibuffer
......@@ -1291,6 +1283,9 @@ It assumes that it is called from within the control buffer."
(defun ediff-compute-toolbar-width ()
(declare (obsolete nil "28.1"))
(provide 'ediff-wind)
;;; ediff-wind.el ends here
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment