diff options
| author | Jonas Bernoulli <jonas@bernoul.li> | 2025-02-18 16:44:41 +0100 |
|---|---|---|
| committer | Jonas Bernoulli <jonas@bernoul.li> | 2025-02-18 16:44:41 +0100 |
| commit | 27751668706838e845cee356b7299f734e1cc7dc (patch) | |
| tree | 1e3920c495f4d01572c3a8a7c4987071b332ad36 | |
| parent | 9802c215a3eea748d9d7f81a1465850388006897 (diff) | |
Advise against setting read-symbol-shorthands in .dir-locals.el
| -rw-r--r-- | .dir-locals.el | 9 | ||||
| -rw-r--r-- | llama.el | 5 |
2 files changed, 3 insertions, 11 deletions
diff --git a/.dir-locals.el b/.dir-locals.el deleted file mode 100644 index 6ecdd91..0000000 --- a/.dir-locals.el +++ /dev/null @@ -1,9 +0,0 @@ -((emacs-lisp-mode - (indent-tabs-mode . nil) - ;; Instead of at the bottom of each library, you can also configure - ;; the shorthands in this file. Note that Melpa by default does not - ;; include it in packages, so you will have to explicitly add it to - ;; `:files' in the Melpa recipe. See `forge's recipe for an example. - (read-symbol-shorthands - ("partial" . "llama--left-apply-partially") - ("rpartial" . "llama--right-apply-partially")))) @@ -548,13 +548,14 @@ Emacs 28.1. For an example see the end of file \"llama.el\"." ;; An example of the configuration that is necessary to enable this: ;; ;; Local Variables: +;; indent-tabs-mode: nil ;; read-symbol-shorthands: ( ;; ("partial" . "llama--left-apply-partially") ;; ("rpartial" . "llama--right-apply-partially")) ;; End: ;; -;; Alternatively you can set this variable in a ".dir-locals.el" file. -;; See this package's ".dir-locals.el" for an example. +;; Do not set `read-symbol-shorthands' in the ".dir-locals.el" +;; file, because that does not work for uncompiled libraries. (provide 'llama) |
