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

Don't add Duplicate Commands to Command History #1774

Merged
merged 2 commits into from
May 22, 2022

Conversation

LaurenceWarne
Copy link
Contributor

@LaurenceWarne LaurenceWarne commented May 2, 2022

Hi, this PR makes it so that duplicate commands are not added to the command history (a command is only added to the history ring if it doesn't equal the most recent command).

Related is: #1654, but it has the same effect for projectile-test-project, projectile-compile-project and so on.

Thanks!


Before submitting a PR make sure the following things have been done (and denote this
by checking the relevant checkboxes):

  • The commits are consistent with our contribution guidelines
  • You've added tests (if possible) to cover your change(s)
  • All tests are passing (eldev test)
  • The new code is not generating bytecode or M-x checkdoc warnings
  • You've updated the changelog (if adding/changing user-visible functionality)
  • You've updated the readme (if adding/changing user-visible functionality)

Thanks!

@bbatsov bbatsov merged commit 3931492 into bbatsov:master May 22, 2022
@bbatsov
Copy link
Owner

bbatsov commented May 22, 2022

Thanks!

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.

2 participants