]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix a bug in the po-mode-map defvar.
authorBruno Haible <bruno@clisp.org>
Mon, 12 Nov 2001 16:06:07 +0000 (16:06 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 20:58:05 +0000 (22:58 +0200)
misc/po-mode.el

index 8e9770ef760da08b2a4d169ef43803801250d3b2..1f8f06d75a7f9d738f3eae8df8b2d63c86cf8283 100644 (file)
@@ -953,7 +953,7 @@ Called through file-coding-system-alist, before the file is visited for real."
 
 (defvar po-mode-map
   ;; Use (make-keymap) because (make-sparse-keymap) does not work on Demacs.
-  (let ((map (make-keymap)))
+  (let ((po-mode-map (make-keymap)))
     (suppress-keymap po-mode-map)
     (define-key po-mode-map "\C-i" 'po-unfuzzy)
     (define-key po-mode-map "\C-j" 'po-msgid-to-msgstr)
@@ -1011,7 +1011,7 @@ Called through file-coding-system-alist, before the file is visited for real."
     (define-key po-mode-map "\M-A" 'po-ignore-as-auxiliary)
 ;;;;  (define-key po-mode-map "\M-L" 'po-ignore-lexicon-file)
     (define-key po-mode-map "\M-S" 'po-ignore-source-path)
-    map)
+    po-mode-map)
   "Keymap for PO mode.")
 
 (defun po-mode ()