Skip to content

Conversation

Stebalien
Copy link

I have no strong opinions here so feel free to simply close this, but I'm trying to slim down my package list. There were only 7 uses and 4 were aliases or thin wrappers around built-in functions.

There were only 7 uses and 4 were aliases or thin wrappers around
built-in functions.
(setq library-name
(f-expand library-name
(f-parent find-function-C-source-directory))))
(expand-file-name library-name
Copy link
Author

Choose a reason for hiding this comment

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

This is slightly different in that it uses file-name handlers, but I'm pretty sure that's what we want (e.g., if the source directory is on a remote machine, in a docker container, etc.).

Comment on lines +1338 to +1339
(file-name-directory
(directory-file-name find-function-C-source-directory)))))
Copy link
Author

Choose a reason for hiding this comment

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

This is a bit unfortunate. Emacs 29 has file-name-parent-directory but that's rather new.

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.

1 participant