aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2014-02-15 19:09:27 -0800
committerGlenn Morris2014-02-15 19:09:27 -0800
commit5bcad689ca6a4bc18d5263f62164705b54b5e7a9 (patch)
tree719ee52373bed8d20d22f033c2e779a08d94d634
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
-rw-r--r--lisp/ChangeLog7
-rw-r--r--lisp/vc/ediff-init.el6
2 files changed, 10 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b1fe2507a8a..32df40bd094 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,4 +1,9 @@
12014-02-14 Michael R. Mauger <michael@mauger.com> 12014-02-16 Glenn Morris <rgm@gnu.org>
2
3 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
4 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
5
62014-02-15 Michael R. Mauger <michael@mauger.com>
2 7
3 * progmodes/sql.el: Version 3.4 8 * progmodes/sql.el: Version 3.4
4 (sql-oracle-options): New default value ("-L"). 9 (sql-oracle-options): New default value ("-L").
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.