summaryrefslogtreecommitdiff
path: root/lisp/vc/diff-mode.el
diff options
context:
space:
mode:
authorLeo Liu <sdl.web@gmail.com>2012-02-10 23:59:29 +0800
committerLeo Liu <sdl.web@gmail.com>2012-02-10 23:59:29 +0800
commit1be3ca5ad7173a1b1e2ca4065185c207a41883c9 (patch)
tree210644035309e3487fc729a5dd2bd2deda0bbbe2 /lisp/vc/diff-mode.el
parent25dec3650947892e638be48220024a7d1b1d8be8 (diff)
downloademacs-1be3ca5ad7173a1b1e2ca4065185c207a41883c9.tar.gz
Rename condition-case-no-debug to condition-case-unless-debug
Diffstat (limited to 'lisp/vc/diff-mode.el')
-rw-r--r--lisp/vc/diff-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index 7de9d17e3f7..ba4a2766526 100644
--- a/lisp/vc/diff-mode.el
+++ b/lisp/vc/diff-mode.el
@@ -237,7 +237,7 @@ from disabled to enabled, it tries to refine the current hunk, as
well."
:group 'diff-mode :init-value t :lighter nil ;; " Auto-Refine"
(when diff-auto-refine-mode
- (condition-case-no-debug nil (diff-refine-hunk) (error nil))))
+ (condition-case-unless-debug nil (diff-refine-hunk) (error nil))))
;;;;
;;;; font-lock support
@@ -542,7 +542,7 @@ but in the file header instead, in which case move forward to the first hunk."
(easy-mmode-define-navigation
diff-hunk diff-hunk-header-re "hunk" diff-end-of-hunk diff-restrict-view
(if diff-auto-refine-mode
- (condition-case-no-debug nil (diff-refine-hunk) (error nil))))
+ (condition-case-unless-debug nil (diff-refine-hunk) (error nil))))
(easy-mmode-define-navigation
diff-file diff-file-header-re "file" diff-end-of-hunk)