diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2025-01-06 10:08:01 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2025-01-06 20:04:20 +0100 |
commit | 888ff3755d499ca74f9d8cdf9e4d2c7dc0331236 (patch) | |
tree | dffb288ea211fee24d77b3308ed4d7e04d5832de /lisp/emacs-lisp/comp-common.el | |
parent | 3de5fcd0a60b01639276f360561037403f8d7389 (diff) | |
download | emacs-888ff3755d499ca74f9d8cdf9e4d2c7dc0331236.tar.gz emacs-888ff3755d499ca74f9d8cdf9e4d2c7dc0331236.tar.bz2 emacs-888ff3755d499ca74f9d8cdf9e4d2c7dc0331236.zip |
New function internal--c-header-file-path
It is not clear to me where this function properly belongs, so let's put
it in subr.el for now. This avoids code duplication without introducing
a dependency between man and ffap. It can always be moved later.
* lisp/subr.el (internal--c-header-file-path): New function.
* lisp/man.el (Man-header-file-path):
* lisp/ffap.el (ffap-c-path): Use above new function.
* test/lisp/subr-tests.el (ert-x): Require.
(subr-tests-internal--c-header-file-path)
(subr-tests-internal--c-header-file-path/gcc-mocked): New tests.
Diffstat (limited to 'lisp/emacs-lisp/comp-common.el')
0 files changed, 0 insertions, 0 deletions