emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 8fd97b1 1/2: Fix warning generated by indian.el + quail.el


From: Stefan Monnier
Subject: Re: master 8fd97b1 1/2: Fix warning generated by indian.el + quail.el
Date: Wed, 24 Feb 2021 15:57:18 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> +  ;; This is a funcall to avoid `quail-update-leim-list-file'
> +  ;; determining that this is a quail definition (it searches for
> +  ;; "(quail-define-package").
> +  (funcall #'quail-define-package pkgname lang title nil docstring

Would the patch below fix this problem more directly?


        Stefan


diff --git a/lisp/international/quail.el b/lisp/international/quail.el
index 5cfa79203d..576189a7de 100644
--- a/lisp/international/quail.el
+++ b/lisp/international/quail.el
@@ -3081,7 +3081,7 @@ quail-update-leim-list-file
            (insert-file-contents (car pkg-list))
            (goto-char (point-min))
            ;; Don't get fooled by commented-out code.
-           (while (re-search-forward "^[ \t]*(quail-define-package" nil t)
+           (while (re-search-forward "^[ \t]*(quail-define-package[ \t\n]*\"" 
nil t)
              (goto-char (match-beginning 0))
              (condition-case nil
                  (let ((form (read (current-buffer))))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]