From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: progn: Symbol’s function definition is void: f-symlink
Date: Sat, 18 Dec 2021 22:40:29 +0800 [thread overview]
Message-ID: <CAGP6POJJQWUx-D2Ct3AMrg5GcEX667Sbv_t+4h+AQAkTnNjXGw@mail.gmail.com> (raw)
I use the following code in my `.emacs.d/init.el` to install the qe-modes [1]:
;;;;;;; begin ;;;;;;;
(let ((qe-modes-source "~/.emacs.d/qe-modes")
(qe-modes-symlink "~/Public/hpc/QEF/q-e.git/GUI/QE-modes/qe-modes")
(qe-modes-emacs "~/Public/hpc/QEF/q-e.git/GUI/QE-modes/qe-modes.emacs"))
(when (not (file-directory-p (file-truename qe-modes-source)))
(when (file-symlink-p qe-modes-source)
(delete-file qe-modes-source))
(f-symlink (file-truename qe-modes-symlink) qe-modes-source))
(load-file qe-modes-emacs))
;;;;;;; end ;;;;;;;
All the files required for the above code exist on my computer:
werner@X10DAi-00:~$ ls ~/Public/hpc/QEF/q-e.git/GUI/QE-modes/qe-modes
cp-mode.el neb-mode.el pp-mode.el pwtk-mode.el qe-mode.el
cp-mode.elc neb-mode.elc pp-mode.elc pwtk-mode.elc qe-mode.elc
ld1-mode.el ph-mode.el pw-mode.el qe-funcs.el qe-modes.el
ld1-mode.elc ph-mode.elc pw-mode.elc qe-funcs.elc qe-modes.elc
werner@X10DAi-00:~$ ls ~/Public/hpc/QEF/q-e.git/GUI/QE-modes/qe-modes.emacs
/home/werner/Public/hpc/QEF/q-e.git/GUI/QE-modes/qe-modes.emacs
But when I start Emacs, the following error is triggered:
progn: Symbol’s function definition is void: f-symlink
Any hints for fixing this problem?
[1] http://pwtk.ijs.si/qe-modes.html
Regards
HZ
next reply other threads:[~2021-12-18 14:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-18 14:40 Hongyi Zhao [this message]
2021-12-18 15:40 ` progn: Symbol’s function definition is void: f-symlink Philip Kaludercic
2021-12-19 0:30 ` Hongyi Zhao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGP6POJJQWUx-D2Ct3AMrg5GcEX667Sbv_t+4h+AQAkTnNjXGw@mail.gmail.com \
--to=hongyi.zhao@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).