]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
po-mode: Fix warning.
authorBruno Haible <bruno@clisp.org>
Sat, 27 Apr 2019 09:24:38 +0000 (11:24 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 27 Apr 2019 09:24:38 +0000 (11:24 +0200)
* gettext-tools/emacs/po-mode.el (entry-buffer): Declare as variable.

gettext-tools/emacs/po-mode.el

index b898a71dbc04f38edf085233fb18115e6d66965c..f05b0f420adc21f08d202665d054afee87dfbd79 100644 (file)
@@ -2118,6 +2118,9 @@ comments) from the current entry, if the user gives the permission."
           '(lambda ()
              (define-key ediff-mode-map "Q" 'po-ediff-quit)))
 
+;; Avoid byte compiler warnings.
+(defvar entry-buffer)
+
 (defun po-ediff-buffers-exit-recursive (b1 b2 oldbuf end)
   "Ediff buffer B1 and B2, pop back to OLDBUF and replace the old variants.
 This function will delete the first two variants in OLDBUF, call