summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.dir-locals.el9
-rw-r--r--llama.el5
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"))))
diff --git a/llama.el b/llama.el
index d9b620f..04a4320 100644
--- a/llama.el
+++ b/llama.el
@@ -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)