aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc
diff options
context:
space:
mode:
authorJuanma Barranquero2014-04-02 17:14:50 +0200
committerJuanma Barranquero2014-04-02 17:14:50 +0200
commit09aba8153a8297e415477dbfa9a8c7e999fb3457 (patch)
tree1b15e57f5cb0d6fb4cec8e2ca03747d9e7abf163 /lisp/vc
parentaf1a69f4d17a482c359d98c00ef86fac835b5fac (diff)
parentffcd5669d6a71dd9450a9c45b2ea67d3ddc7c988 (diff)
downloademacs-09aba8153a8297e415477dbfa9a8c7e999fb3457.tar.gz
emacs-09aba8153a8297e415477dbfa9a8c7e999fb3457.zip
Merge from emacs-24; up to 2014-03-28T01:39:30Z!rgm@gnu.org
Diffstat (limited to 'lisp/vc')
-rw-r--r--lisp/vc/ediff.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/vc/ediff.el b/lisp/vc/ediff.el
index d8abe89d17b..927a3ba7fb6 100644
--- a/lisp/vc/ediff.el
+++ b/lisp/vc/ediff.el
@@ -367,8 +367,10 @@ deleted."
367This command can be used instead of `revert-buffer'. If there is 367This command can be used instead of `revert-buffer'. If there is
368nothing to revert then this command fails." 368nothing to revert then this command fails."
369 (interactive) 369 (interactive)
370 (unless (or revert-buffer-function 370 ;; This duplicates code from menu-bar.el.
371 revert-buffer-insert-file-contents-function 371 (unless (or (not (eq revert-buffer-function 'revert-buffer--default))
372 (not (eq revert-buffer-insert-file-contents-function
373 'revert-buffer-insert-file-contents--default-function))
372 (and buffer-file-number 374 (and buffer-file-number
373 (or (buffer-modified-p) 375 (or (buffer-modified-p)
374 (not (verify-visited-file-modtime 376 (not (verify-visited-file-modtime