|
From: | Michael Heerdegen |
Subject: | Re: File for minor mode not found |
Date: | Tue, 11 Jan 2022 17:36:09 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
fatiparty--- via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org> writes: > Thank You Tomas. Is it possible to do one or the other by checking if one > is using 27.2 or 28.1 ? The standard solution is to check with `functionp' whether the function exists in the current Emacs version: #+begin_src emacs-lisp (if (functionp 'file-name-concat) (use-it) (alternative-solution)) #+end_src Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |