Skip to content

Add crux-recentf-find-directory - #78

Merged
bbatsov merged 1 commit into
bbatsov:masterfrom
mpolden:master
Feb 24, 2021
Merged

Add crux-recentf-find-directory#78
bbatsov merged 1 commit into
bbatsov:masterfrom
mpolden:master

Conversation

@mpolden

@mpolden mpolden commented Feb 23, 2021

Copy link
Copy Markdown
Contributor

Adds crux-recentf-find-directory for opening recent directories. Complements the existing crux-recentf-find-file.


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
  • 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)

Comment thread crux.el Outdated
Comment thread crux.el
;;;###autoload
(defun crux-recentf-find-file ()
"Find a recent file using `completing-read'."
(defun crux-recentf-find-file (&optional filter)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Alternatively you can make this some private helper function and have a single command be used for files and directories depending on whether it was used with a prefix argument (e.g. C-u C-c f). I don't have a strong preference either way, though - just something that came to my mind.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't have a strong preference either. Your call πŸ™‚

@bbatsov
bbatsov merged commit a471cbe into bbatsov:master Feb 24, 2021
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