Skip to content

fix call to deprecated function `evil-called-interactively-p'. #22

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

emiflake
Copy link

@emiflake emiflake commented Aug 6, 2023

This function has been deprecated after Emacs 24. See emacs-evil/evil#771.

It has been added back as a deprecated function, however, so I don't quite know why I encountered it now. Still, I thought why not fix it.

This function has been deprecated after Emacs 24.
See emacs-evil/evil#771.
@markasoftware-aqtc
Copy link

my name is mark polyakov, and i approve this message

@markasoftware-aqtc
Copy link

markasoftware-aqtc commented Apr 2, 2025

of course, since this'll never probably get merged, the workaround is:

(defun evil-called-interactively-p ()
  (called-interactively-p 'any))

@jamescherti
Copy link

jamescherti commented Apr 3, 2025

This is one of the reasons why I developed enhanced-evil-paredit (available on MELPA), a fork of evil-paredit. It fixes this issue along with a few others.

If your sole objective is to resolve this issue, the workaround by @markasoftware-aqtc fixes it.

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.

3 participants