Skip to content

Fixed quickrun duplicating the source buffer on multiple runs#94

Open
pickardjoe wants to merge 4 commits intoemacsorphanage:masterfrom
pickardjoe:master
Open

Fixed quickrun duplicating the source buffer on multiple runs#94
pickardjoe wants to merge 4 commits intoemacsorphanage:masterfrom
pickardjoe:master

Conversation

@pickardjoe
Copy link
Copy Markdown

This should fix #75.

Copy link
Copy Markdown
Collaborator

@jcs090218 jcs090218 left a comment

Choose a reason for hiding this comment

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

Minor review.

Sorry for the late review! 😅

Comment thread quickrun.el
"Kill quickrun buffer."
(when (get-buffer quickrun--buffer-name)
(kill-buffer quickrun--buffer-name)))
(let (quickrun--buffer (get-buffer quickrun--buffer-name))
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think there is a syntax error over here? Can you check this? Thanks!

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

How come this patch works? The variable quickrun--buffer will always return nil hence it will never run. 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

quickrun leaves an empty buffer each time

2 participants