changeset 65090:6805ffc89137

(merge-begin, merge-end, template, A-begin, A-end, B-begin, B-end, diff, diff-vector, valid-diff): Defvar at compile time to silence the byte-compiler.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 24 Aug 2005 11:35:31 +0000
parents b4238c551ea7
children 62819d328d84
files lisp/emerge.el
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emerge.el	Wed Aug 24 11:34:39 2005 +0000
+++ b/lisp/emerge.el	Wed Aug 24 11:35:31 2005 +0000
@@ -44,6 +44,12 @@
 ;;;###autoload (define-key menu-bar-emerge-menu [emerge-buffers]
 ;;;###autoload   '("Buffers..." . emerge-buffers))
 
+(eval-when-compile
+  ;; There aren't really global variables, just dynamic bindings
+  (defvar merge-begin) (defvar merge-end) (defvar template)
+  (defvar A-begin) (defvar A-end) (defvar B-begin) (defvar B-end)
+  (defvar diff) (defvar diff-vector) (defvar valid-diff))
+
 ;;; Macros
 
 (defmacro emerge-eval-in-buffer (buffer &rest forms)