ediff-init.el fix for bug#1821. (tiny change)
authorDavid Abrahams <dave@boostpro.com>
Thu, 3 Mar 2011 08:19:34 +0000 (00:19 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 3 Mar 2011 08:19:34 +0000 (00:19 -0800)
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.

lisp/ChangeLog
lisp/vc/ediff-init.el

index c785a66..c97cf6e 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-03  David Abrahams  <dave@boostpro.com>  (tiny change)
+
+       * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
+       Move ediff-defvar-local calls after defcustoms.  (Bug#1821)
+
 2011-03-03  Glenn Morris  <rgm@gnu.org>
 
        * files.el (file-truename): Doc fix.  (Bug#2341)
index ff1f7f6..0d904ec 100644 (file)
@@ -560,7 +560,6 @@ See the documentation string of `ediff-focus-on-regexp-matches' for details.")
   :group 'ediff)
 
 
-(ediff-defvar-local ediff-use-faces t "")
 (defcustom ediff-use-faces t
   "If t, differences are highlighted using faces, if device supports faces.
 If 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
 highlighted using ASCII flags."
   :type 'boolean
   :group 'ediff-highlighting)
+(ediff-defvar-local ediff-use-faces t "")
 
 ;; this indicates that diff regions are word-size, so fine diffs are
 ;; permanently nixed; used in ediff-windows-wordwise and ediff-regions-wordwise
@@ -604,13 +604,13 @@ meaning of this variable."
   :type 'boolean
   :group 'ediff)
 
-(ediff-defvar-local ediff-highlight-all-diffs t "")
 (defcustom ediff-highlight-all-diffs t
   "If nil, only the selected differences are highlighted.
 Otherwise, all difference regions are highlighted, but the selected region is
 shown in brighter colors."
   :type 'boolean
   :group 'ediff-highlighting)
+(ediff-defvar-local ediff-highlight-all-diffs t "")
 
 
 ;; The suffix of the control buffer name.