Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid set-coding-priority for Emacs 28 #143

Merged
merged 1 commit into from Dec 2, 2020

Conversation

tats
Copy link
Collaborator

@tats tats commented Aug 28, 2020

On a recent Emacs 28.0.50, C-c C-l (mew-summary-convert-local-cs) fails
with the error: (void-function set-coding-priority), because the
set-coding-priority function obsolete since Emacs 23.1 have been removed.
cf. http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=874ba85363e90a54f976af542e9b3f4c662e317e

@kazu-yamamoto kazu-yamamoto self-requested a review December 1, 2020 06:26
Copy link
Owner

@kazu-yamamoto kazu-yamamoto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove #' if possible.

mew-env.el Outdated
@@ -99,7 +99,8 @@ requires PTY.")

(with-no-warnings
(defun mew-set-coding-priority (pri)
(set-coding-priority pri)))
(apply 'set-coding-system-priority
(mapcar #'(lambda (x) (symbol-value x)) pri))))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that #' is not necessary because lambda is a macro in Elisp.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove #' if possible.

Done. (rebased and force pushed)

Copy link
Owner

@kazu-yamamoto kazu-yamamoto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now LGTM.

@kazu-yamamoto kazu-yamamoto merged commit cf20ca5 into kazu-yamamoto:master Dec 2, 2020
@kazu-yamamoto
Copy link
Owner

Merged. Thank you for your contribution!

@tats tats deleted the bug/coding-priority branch December 30, 2020 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants