public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/anthy] rawhide: Fix lexical-binding warning
@ 2026-09-04 2:44 Akira TAGOH
0 siblings, 0 replies; only message in thread
From: Akira TAGOH @ 2026-09-04 2:44 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/anthy
Branch : rawhide
Commit : 8a3265f13cd36214444f768fa09f952f9161c41f
Author : Akira TAGOH <tagoh@redhat.com>
Date : 2026-09-04T11:44:19+09:00
Stats : +12/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/anthy/c/8a3265f13cd36214444f768fa09f952f9161c41f?branch=rawhide
Log:
Fix lexical-binding warning
- Resolves: rhbz#2528349
---
diff --git a/anthy-init.el b/anthy-init.el
index 3354cc2..627458e 100644
--- a/anthy-init.el
+++ b/anthy-init.el
@@ -1,10 +1,19 @@
-;; anthy-init.el
+;;; anthy-init.el --- Autoload anthy -*- lexical-binding: t; -*-
+
+;;; Commentary:
;;
+;; This file sets up the load-path for the Anthy Emacs Lisp files and
+;; registers "japanese-anthy" as a LEIM input method, so that Anthy Kana
+;; Kanji conversion becomes available via `set-input-method'. It is loaded
+;; automatically at startup on both GNU Emacs and XEmacs.
+
+;;; Code:
(if (featurep 'xemacs)
(setq load-path (cons "/usr/share/xemacs/xemacs-packages/lisp/anthy" load-path))
(setq load-path (cons "/usr/share/emacs/site-lisp/anthy" load-path)))
(autoload 'anthy-leim-activate "anthy" nil t)
(register-input-method "japanese-anthy" "Japanese"
- 'anthy-leim-activate "[anthy]"
- "Anthy Kana Kanji conversion system")
+ 'anthy-leim-activate "[anthy]"
+ "Anthy Kana Kanji conversion system")
+;;; anthy-init.el ends here
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-04 2:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 2:44 [rpms/anthy] rawhide: Fix lexical-binding warning Akira TAGOH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox