branch: externals/po-mode
commit bf9c936bb4658dc8d218a95defa69621696c4a4f
Author: Bruno Haible <[email protected]>
Commit: Bruno Haible <[email protected]>
po-mode: Fix warning.
* gettext-tools/emacs/po-mode.el (entry-buffer): Declare as variable.
---
po-mode.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/po-mode.el b/po-mode.el
index b898a71dbc..f05b0f420a 100644
--- a/po-mode.el
+++ b/po-mode.el
@@ -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