diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2025-01-06 12:29:21 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2025-01-06 20:04:20 +0100 |
commit | 3dc3dbc2e38340aba7f818eab21abfd93a132175 (patch) | |
tree | 1904060e201cf1c58f1d1bd26595998fcc731a9a /lisp/emacs-lisp/comp-cstr.el | |
parent | 888ff3755d499ca74f9d8cdf9e4d2c7dc0331236 (diff) | |
download | emacs-3dc3dbc2e38340aba7f818eab21abfd93a132175.tar.gz emacs-3dc3dbc2e38340aba7f818eab21abfd93a132175.tar.bz2 emacs-3dc3dbc2e38340aba7f818eab21abfd93a132175.zip |
Fix finding C headers with clang
This fixes following "#include" references in 'M-x man' buffers, and
using ffap, both on macOS machines, and on systems where for some reason
clang is available but gcc is not.
* lisp/subr.el (internal--c-header-file-path): Fix finding C
headers with clang.
(internal--gcc-is-clang-p): New function factored out from...
* lisp/emacs-lisp/ert-x.el (ert-gcc-is-clang-p): ...here.
* lisp/man.el (Man-header-file-path): Bump :version tag.
* test/lisp/subr-tests.el
(subr-tests-internal--c-header-file-path/clang-mocked): New test.
Diffstat (limited to 'lisp/emacs-lisp/comp-cstr.el')
0 files changed, 0 insertions, 0 deletions