Package: edict-el
Version: 1.06-11.1
Tags: patch

Calling 'M-x edict-search-kanji' produces no visible result, and the following 
error message:

eval-buffer: Loading ‘/usr/share/emacs/site-lisp/edict-el/edict-morphology.el’: 
old-style backquotes detected!


Apparently, elisp has an old and new syntax for quoting within macros, and 
starting with Emacs 27 the old syntax is no longer supported.

Only the file 'edict-morphology.el' is affected, in a short fragment between 
lines 274 and 276. Despite my poor understanding of lisp macros, I could swear 
I have produced a patch that fixes it.

Because I'm inexperienced in submitting bugs and the patch is short, I shall 
reproduce it in text here, lest the attachment fail to make it through.

274,276c274,276
<     (` (define-edict-rule-internal '(, name) '(, pattern) '(, filter)
<        '(, from) '(, to)
<        (function (, function)) (quote ((,@ additional-args)))))))
---
>     `(define-edict-rule-internal (quote ,name) (quote ,pattern) (quote 
> ,filter)
>        (quote ,from) (quote ,to)
>        (function ,function) (quote (,@additional-args)))))
274,276c274,276
<     (` (define-edict-rule-internal '(, name) '(, pattern) '(, filter)
< 	 '(, from) '(, to)
< 	 (function (, function)) (quote ((,@ additional-args)))))))
---
>     `(define-edict-rule-internal (quote ,name) (quote ,pattern) (quote ,filter)
> 	 (quote ,from) (quote ,to)
> 	 (function ,function) (quote (,@additional-args)))))

Reply via email to