rejeep / f.el

Modern API for working with files and directories in Emacs
GNU General Public License v3.0
680 stars 68 forks source link

Simplify code with more defaliases #107

Closed Phundrak closed 2 years ago

Phundrak commented 2 years ago

Lots of f.el functions are simple calls to other Elisp functions without any addition in checks or features, such as f-ext or f-relative. This commit changes these functions into aliases.

I didn’t change functions which have a different signature that their equivalent in vanilla Elisp. For instance, f-long can be aliased to f-expand, but the latter has optional arguments the former hasn’t. Should these functions also be aliased? If so, I can add another commit (or amend the current commit) to alias them too.

rejeep commented 2 years ago

@Phundrak Thanks, I added you as a collaborator, feel free to merge

Phundrak commented 2 years ago

Thank you, merging it then

-- Lucien “Phundrak” Cartier-Tilet

https://phundrak.com (Français)

https://phundrak.com/en (English)

Sent from GNU/Emacs