aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc
diff options
context:
space:
mode:
authorGlenn Morris2014-02-15 19:09:27 -0800
committerGlenn Morris2014-02-15 19:09:27 -0800
commit5bcad689ca6a4bc18d5263f62164705b54b5e7a9 (patch)
tree719ee52373bed8d20d22f033c2e779a08d94d634 /lisp/vc
parent9b0c01f7f5f1194107e8015818293566b2665210 (diff)
downloademacs-5bcad689ca6a4bc18d5263f62164705b54b5e7a9.tar.gz
emacs-5bcad689ca6a4bc18d5263f62164705b54b5e7a9.zip
* lisp/vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
Do not use ediff-defvar-local on pre-defined variables. Fixes: debbugs:16744
Diffstat (limited to 'lisp/vc')
-rw-r--r--lisp/vc/ediff-init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/vc/ediff-init.el b/lisp/vc/ediff-init.el
index 06bbc47b61e..000fdb916e3 100644
--- a/lisp/vc/ediff-init.el
+++ b/lisp/vc/ediff-init.el
@@ -567,7 +567,8 @@ and ediff-after-flag. On a non-window system, differences are always
567highlighted using ASCII flags." 567highlighted using ASCII flags."
568 :type 'boolean 568 :type 'boolean
569 :group 'ediff-highlighting) 569 :group 'ediff-highlighting)
570(ediff-defvar-local ediff-use-faces t "") 570(make-variable-buffer-local 'ediff-use-faces)
571(put 'ediff-use-faces 'permanent-local t)
571 572
572;; this indicates that diff regions are word-size, so fine diffs are 573;; this indicates that diff regions are word-size, so fine diffs are
573;; permanently nixed; used in ediff-windows-wordwise and ediff-regions-wordwise 574;; permanently nixed; used in ediff-windows-wordwise and ediff-regions-wordwise
@@ -610,7 +611,8 @@ Otherwise, all difference regions are highlighted, but the selected region is
610shown in brighter colors." 611shown in brighter colors."
611 :type 'boolean 612 :type 'boolean
612 :group 'ediff-highlighting) 613 :group 'ediff-highlighting)
613(ediff-defvar-local ediff-highlight-all-diffs t "") 614(make-variable-buffer-local 'ediff-highlight-all-diffs)
615(put 'ediff-highlight-all-diffs 'permanent-local t)
614 616
615 617
616;; The suffix of the control buffer name. 618;; The suffix of the control buffer name.