[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/jinx 27177e33d9 5/8: Fix compilation warning
From: |
ELPA Syncer |
Subject: |
[elpa] externals/jinx 27177e33d9 5/8: Fix compilation warning |
Date: |
Wed, 29 Mar 2023 22:58:45 -0400 (EDT) |
branch: externals/jinx
commit 27177e33d98515a4144e288f410334063aaebe58
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Fix compilation warning
---
jinx-mod.c | 3 ++-
jinx.el | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/jinx-mod.c b/jinx-mod.c
index a73acd3c12..16060df8c0 100644
--- a/jinx-mod.c
+++ b/jinx-mod.c
@@ -116,7 +116,8 @@ static void jinx_langs_cb(const char* const lang_tag,
}
static emacs_value jinx_langs(emacs_env* env, ptrdiff_t jinx_unused(nargs),
- emacs_value args[], void* jinx_unused(data)) {
+ emacs_value jinx_unused(args[]),
+ void* jinx_unused(data)) {
void* data[] = { env, env->intern(env, "nil") };
enchant_broker_list_dicts(jinx_broker(), jinx_langs_cb, data);
return data[1];
diff --git a/jinx.el b/jinx.el
index 0d30055de3..0232e0c517 100644
--- a/jinx.el
+++ b/jinx.el
@@ -482,12 +482,12 @@ If VISIBLE is non-nil, only include visible overlays."
(with-current-buffer (get-buffer-create "*jinx module compilation*")
(let ((inhibit-read-only t))
(erase-buffer)
+ (compilation-mode)
(insert (string-join command " ") "\n")
(if (equal 0 (apply #'call-process (car command) nil
(current-buffer) t (cdr command)))
(insert (message "Jinx: %s compiled successfully" module))
(let ((msg (format "Jinx: Compilation of %s failed" module)))
(insert msg)
- (compilation-mode)
(pop-to-buffer (current-buffer))
(error msg)))))))
(module-load (expand-file-name module)))))
- [elpa] externals/jinx updated (72d7a1ad9d -> 397112434c), ELPA Syncer, 2023/03/29
- [elpa] externals/jinx aa0a82e9fe 1/8: Refactoring of internals, ELPA Syncer, 2023/03/29
- [elpa] externals/jinx 6ea7a861c4 6/8: editorial changes to readme (#26), ELPA Syncer, 2023/03/29
- [elpa] externals/jinx 27177e33d9 5/8: Fix compilation warning,
ELPA Syncer <=
- [elpa] externals/jinx 397112434c 8/8: Improve readme and commentary, ELPA Syncer, 2023/03/29
- [elpa] externals/jinx f966592133 2/8: Reset syntax table correctly, ELPA Syncer, 2023/03/29
- [elpa] externals/jinx 06d801f595 3/8: Simplify jinx--recheck-overlays, ELPA Syncer, 2023/03/29
- [elpa] externals/jinx 983ffa2862 4/8: Simplify overlay reordering, ELPA Syncer, 2023/03/29
- [elpa] externals/jinx 524711ef85 7/8: Improve readme, ELPA Syncer, 2023/03/29