diff options
| author | Stefan Monnier | 2016-07-12 00:55:04 +0900 |
|---|---|---|
| committer | Tino Calancha | 2016-07-12 00:55:04 +0900 |
| commit | 7af6c87b5047c5362cb57c6173d27fe877597c04 (patch) | |
| tree | 778d2190c6dd5f16785a21c9137bb30090c782f6 | |
| parent | 713e922243fb60d850f7b0ff83f3e2a3682f1832 (diff) | |
| download | emacs-7af6c87b5047c5362cb57c6173d27fe877597c04.tar.gz emacs-7af6c87b5047c5362cb57c6173d27fe877597c04.zip | |
Prevent to apply funcall on t
* lisp/vc/ediff-util.el (ediff-really-quit): Ignore the global part of
'ediff-after-quit-hook-internal' hook (Bug#23933).
| -rw-r--r-- | lisp/vc/ediff-util.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/vc/ediff-util.el b/lisp/vc/ediff-util.el index a6b88d557ba..99672fcb012 100644 --- a/lisp/vc/ediff-util.el +++ b/lisp/vc/ediff-util.el | |||
| @@ -2439,7 +2439,9 @@ temporarily reverses the meaning of this variable." | |||
| 2439 | ;; restore buffer mode line id's in buffer-A/B/C | 2439 | ;; restore buffer mode line id's in buffer-A/B/C |
| 2440 | (let ((control-buffer ediff-control-buffer) | 2440 | (let ((control-buffer ediff-control-buffer) |
| 2441 | (meta-buffer ediff-meta-buffer) | 2441 | (meta-buffer ediff-meta-buffer) |
| 2442 | (after-quit-hook-internal ediff-after-quit-hook-internal) | 2442 | ;; FIXME: Here we ignore the global part of the |
| 2443 | ;; ediff-after-quit-hook-internal hook. | ||
| 2444 | (after-quit-hook-internal (remq t ediff-after-quit-hook-internal)) | ||
| 2443 | (session-number ediff-meta-session-number) | 2445 | (session-number ediff-meta-session-number) |
| 2444 | ;; suitable working frame | 2446 | ;; suitable working frame |
| 2445 | (warp-frame (if (and (ediff-window-display-p) (eq ediff-grab-mouse t)) | 2447 | (warp-frame (if (and (ediff-window-display-p) (eq ediff-grab-mouse t)) |