diff options
Diffstat (limited to 'lisp/ediff-init.el')
| -rw-r--r-- | lisp/ediff-init.el | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lisp/ediff-init.el b/lisp/ediff-init.el index 80beb4a872d..46e94e935f7 100644 --- a/lisp/ediff-init.el +++ b/lisp/ediff-init.el | |||
| @@ -895,7 +895,8 @@ to temp files when Ediff needs to find fine differences." | |||
| 895 | (sit-for 1))))) | 895 | (sit-for 1))))) |
| 896 | 896 | ||
| 897 | (defun ediff-hide-face (face) | 897 | (defun ediff-hide-face (face) |
| 898 | (if (and (ediff-has-face-support-p) (boundp 'add-to-list) | 898 | (if (and (ediff-has-face-support-p) |
| 899 | (boundp 'add-to-list) | ||
| 899 | (boundp 'facemenu-unlisted-faces)) | 900 | (boundp 'facemenu-unlisted-faces)) |
| 900 | (add-to-list 'facemenu-unlisted-faces face))) | 901 | (add-to-list 'facemenu-unlisted-faces face))) |
| 901 | 902 | ||
| @@ -1404,7 +1405,7 @@ This property can be toggled interactively." | |||
| 1404 | ;;; Misc | 1405 | ;;; Misc |
| 1405 | 1406 | ||
| 1406 | ;; if nil, this silences some messages | 1407 | ;; if nil, this silences some messages |
| 1407 | (defvar ediff-verbose-p t) | 1408 | (defconst ediff-verbose-p t) |
| 1408 | 1409 | ||
| 1409 | (defcustom ediff-autostore-merges 'group-jobs-only | 1410 | (defcustom ediff-autostore-merges 'group-jobs-only |
| 1410 | "*Save the results of merge jobs automatically. | 1411 | "*Save the results of merge jobs automatically. |
| @@ -1473,11 +1474,8 @@ This default should work without changes." | |||
| 1473 | (ediff-defvar-local ediff-temp-file-C nil "") | 1474 | (ediff-defvar-local ediff-temp-file-C nil "") |
| 1474 | 1475 | ||
| 1475 | 1476 | ||
| 1476 | ;; If file-remote-p is defined (as in XEmacs, use it. Otherwise, check | ||
| 1477 | ;; if find-file-name-handler is defined for 'file-local-copy | ||
| 1478 | (defun ediff-file-remote-p (file-name) | 1477 | (defun ediff-file-remote-p (file-name) |
| 1479 | (or (and (fboundp 'file-remote-p) (file-remote-p file-name)) | 1478 | (file-remote-p file-name)) |
| 1480 | (find-file-name-handler file-name 'file-local-copy))) | ||
| 1481 | 1479 | ||
| 1482 | ;; File for which we can get attributes, such as size or date | 1480 | ;; File for which we can get attributes, such as size or date |
| 1483 | (defun ediff-listable-file (file-name) | 1481 | (defun ediff-listable-file (file-name) |