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

restart-emacs-start-new-emacs does not work as expected #25

Open
oakasapoglu opened this issue Sep 7, 2024 · 0 comments
Open

restart-emacs-start-new-emacs does not work as expected #25

oakasapoglu opened this issue Sep 7, 2024 · 0 comments

Comments

@oakasapoglu
Copy link

Hey Iqbal,

I am here to discuss a problem about restart-emacs library.

There is some code under this function but it does not work expectedly.
It worked as expected in my machine after changing it to this second variant.

At defun of this function
restart-emacs-start-new-emacs, first one is the normal code

(interactive "P")
(let ((restart-emacs--inhibit-kill-p t))
(restart-emacs args)))

I only changed the second call to an interactive call

(interactive "P")
(let ((restart-emacs--inhibit-kill-p t))
(call-interactively 'restart-emacs))

It worked for my use cases.
Probabaly some bug here. I would like to point it out.

Sincerely, have a nice day

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

No branches or pull requests

1 participant