aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Abrahams2011-03-03 00:19:34 -0800
committerGlenn Morris2011-03-03 00:19:34 -0800
commit31128af6a3b3455dcffd0cb17ed6a96a2a612fdf (patch)
tree3c03439ded87a2db671dde8cf072a3222260f308
parent4cabe815399447dfeb9a4b3304fc4fd225115a67 (diff)
downloademacs-31128af6a3b3455dcffd0cb17ed6a96a2a612fdf.tar.gz
emacs-31128af6a3b3455dcffd0cb17ed6a96a2a612fdf.zip
ediff-init.el fix for bug#1821. (tiny change)
Tiny change; note that author said he placed it in the public domain. (If this wasn't a tiny change, we would still need paperwork.) * lisp/vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs): Move ediff-defvar-local calls after defcustoms.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/vc/ediff-init.el4
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c785a66fc52..c97cf6e781b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-03-03 David Abrahams <dave@boostpro.com> (tiny change)
2
3 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
4 Move ediff-defvar-local calls after defcustoms. (Bug#1821)
5
12011-03-03 Glenn Morris <rgm@gnu.org> 62011-03-03 Glenn Morris <rgm@gnu.org>
2 7
3 * files.el (file-truename): Doc fix. (Bug#2341) 8 * files.el (file-truename): Doc fix. (Bug#2341)
diff --git a/lisp/vc/ediff-init.el b/lisp/vc/ediff-init.el
index ff1f7f6b017..0d904ec85c4 100644
--- a/lisp/vc/ediff-init.el
+++ b/lisp/vc/ediff-init.el
@@ -560,7 +560,6 @@ See the documentation string of `ediff-focus-on-regexp-matches' for details.")
560 :group 'ediff) 560 :group 'ediff)
561 561
562 562
563(ediff-defvar-local ediff-use-faces t "")
564(defcustom ediff-use-faces t 563(defcustom ediff-use-faces t
565 "If t, differences are highlighted using faces, if device supports faces. 564 "If t, differences are highlighted using faces, if device supports faces.
566If nil, differences are highlighted using ASCII flags, ediff-before-flag 565If nil, differences are highlighted using ASCII flags, ediff-before-flag
@@ -568,6 +567,7 @@ and ediff-after-flag. On a non-window system, differences are always
568highlighted using ASCII flags." 567highlighted using ASCII flags."
569 :type 'boolean 568 :type 'boolean
570 :group 'ediff-highlighting) 569 :group 'ediff-highlighting)
570(ediff-defvar-local ediff-use-faces t "")
571 571
572;; this indicates that diff regions are word-size, so fine diffs are 572;; this indicates that diff regions are word-size, so fine diffs are
573;; permanently nixed; used in ediff-windows-wordwise and ediff-regions-wordwise 573;; permanently nixed; used in ediff-windows-wordwise and ediff-regions-wordwise
@@ -604,13 +604,13 @@ meaning of this variable."
604 :type 'boolean 604 :type 'boolean
605 :group 'ediff) 605 :group 'ediff)
606 606
607(ediff-defvar-local ediff-highlight-all-diffs t "")
608(defcustom ediff-highlight-all-diffs t 607(defcustom ediff-highlight-all-diffs t
609 "If nil, only the selected differences are highlighted. 608 "If nil, only the selected differences are highlighted.
610Otherwise, all difference regions are highlighted, but the selected region is 609Otherwise, all difference regions are highlighted, but the selected region is
611shown in brighter colors." 610shown in brighter colors."
612 :type 'boolean 611 :type 'boolean
613 :group 'ediff-highlighting) 612 :group 'ediff-highlighting)
613(ediff-defvar-local ediff-highlight-all-diffs t "")
614 614
615 615
616;; The suffix of the control buffer name. 616;; The suffix of the control buffer name.