diff options
| author | Glenn Morris | 2018-03-12 23:42:17 -0700 |
|---|---|---|
| committer | Glenn Morris | 2018-03-12 23:42:17 -0700 |
| commit | 9f8e7712d98f49dfdd6975f781bc392b50394120 (patch) | |
| tree | bbdd1855fbbdfaa2bd58a7bd143835c6bc1d3dd3 /lisp | |
| parent | 2734e29ff5b10b97196b4da32606524eefa47653 (diff) | |
| download | emacs-9f8e7712d98f49dfdd6975f781bc392b50394120.tar.gz emacs-9f8e7712d98f49dfdd6975f781bc392b50394120.zip | |
* lisp/subr.el (focus-frame, unfocus-frame): Remove obsolete no-ops.
* lisp/vc/ediff-util.el (ediff-recenter):
Don't try focus-frame on Emacs.
; * etc/NEWS: Mention this.
; Comments in subr.el mention VM as a user, however this is untrue since
; 2010-07. Ref https://bazaar.launchpad.net/~vm/vm/trunk/revision/840
; and 853.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/subr.el | 6 | ||||
| -rw-r--r-- | lisp/vc/ediff-util.el | 4 |
2 files changed, 2 insertions, 8 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index b621042c233..113bd978b63 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1449,12 +1449,6 @@ be a list of the form returned by `event-start' and `event-end'." | |||
| 1449 | (declare (obsolete log "24.4")) | 1449 | (declare (obsolete log "24.4")) |
| 1450 | (log x 10)) | 1450 | (log x 10)) |
| 1451 | 1451 | ||
| 1452 | ;; These are used by VM and some old programs | ||
| 1453 | (defalias 'focus-frame 'ignore "") | ||
| 1454 | (make-obsolete 'focus-frame "it does nothing." "22.1") | ||
| 1455 | (defalias 'unfocus-frame 'ignore "") | ||
| 1456 | (make-obsolete 'unfocus-frame "it does nothing." "22.1") | ||
| 1457 | |||
| 1458 | (set-advertised-calling-convention | 1452 | (set-advertised-calling-convention |
| 1459 | 'all-completions '(string collection &optional predicate) "23.1") | 1453 | 'all-completions '(string collection &optional predicate) "23.1") |
| 1460 | (set-advertised-calling-convention 'unintern '(name obarray) "23.3") | 1454 | (set-advertised-calling-convention 'unintern '(name obarray) "23.3") |
diff --git a/lisp/vc/ediff-util.el b/lisp/vc/ediff-util.el index be36273592b..1158b7146e2 100644 --- a/lisp/vc/ediff-util.el +++ b/lisp/vc/ediff-util.el | |||
| @@ -778,8 +778,8 @@ Reestablish the default window display." | |||
| 778 | (select-frame-set-input-focus ediff-control-frame) | 778 | (select-frame-set-input-focus ediff-control-frame) |
| 779 | (raise-frame ediff-control-frame) | 779 | (raise-frame ediff-control-frame) |
| 780 | (select-frame ediff-control-frame) | 780 | (select-frame ediff-control-frame) |
| 781 | (if (fboundp 'focus-frame) | 781 | (and (featurep 'xemacs) (fboundp 'focus-frame) |
| 782 | (focus-frame ediff-control-frame)))) | 782 | (focus-frame ediff-control-frame)))) |
| 783 | 783 | ||
| 784 | ;; Redisplay whatever buffers are showing, if there is a selected difference | 784 | ;; Redisplay whatever buffers are showing, if there is a selected difference |
| 785 | (let ((control-frame ediff-control-frame) | 785 | (let ((control-frame ediff-control-frame) |