emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/pyim 45decc7 2/2: * pyim-pymap.el (pyim-pymap-build-pym


From: ELPA Syncer
Subject: [elpa] externals/pyim 45decc7 2/2: * pyim-pymap.el (pyim-pymap-build-pymap): delay enable emacs-lisp-mode.
Date: Sat, 13 Mar 2021 04:57:09 -0500 (EST)

branch: externals/pyim
commit 45decc779748c222def6d1f78936cc87617651db
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    * pyim-pymap.el (pyim-pymap-build-pymap): delay enable emacs-lisp-mode.
---
 pyim-pymap.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyim-pymap.el b/pyim-pymap.el
index a886a09..d09e048 100644
--- a/pyim-pymap.el
+++ b/pyim-pymap.el
@@ -755,7 +755,6 @@
           (forward-line 1))))
     (insert
      (with-temp-buffer
-       (emacs-lisp-mode)
        (maphash
         (lambda (key value)
           (setq value (sort (delete-dups (reverse value)) #'pyim-pymap-cchar<))
@@ -771,6 +770,7 @@
        (insert ")\n\"拼音汉字对照表\n
 第一个元素为拼音,第二个元素为拼音对应的汉字组成的字符串,字符串
 中汉字按照使用频率排序, 字符串用 “|” 隔开,“|” 之前的汉字为常用汉字。\")")
+       (emacs-lisp-mode)
        (indent-region (point-min) (point-max))
        (buffer-string)))))
 



reply via email to

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