[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/shorthand-namespacing 6bc684c 7/8: Rework docstring of hack-elis
From: |
João Távora |
Subject: |
feature/shorthand-namespacing 6bc684c 7/8: Rework docstring of hack-elisp-shorthands |
Date: |
Tue, 21 Sep 2021 11:27:01 -0400 (EDT) |
branch: feature/shorthand-namespacing
commit 6bc684c89ca9f594a7c91cef9bd3d5096149a303
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Rework docstring of hack-elisp-shorthands
* lisp/international/mule.el (hack-elisp-shorthands): Rework
docstring.
---
lisp/international/mule.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 6e4492e..deb801f 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -295,7 +295,12 @@ attribute."
(apply 'define-charset-internal name (mapcar 'cdr attrs))))
(defun hack-elisp-shorthands (fullname)
- "Return buffer-local value of `elisp-shorthands' in file FULLNAME."
+ "Return value of the `elisp-shorthands' file-local variable in FULLNAME.
+FULLNAME is the full name of an Elisp file which potentially
+specifies a file-local value for `elisp-shorthands'. The Elisp
+code isn't read or evaluated in any way, we merely extract what
+the buffer-local value of `elisp-shorthands' would be if the file
+had been found by `find-file'."
(let ((size (nth 7 (file-attributes fullname))))
(with-temp-buffer
(insert-file-contents fullname nil (max 0 (- size 3000)) size)
- branch feature/shorthand-namespacing created (now 4d5f6ad), João Távora, 2021/09/21
- feature/shorthand-namespacing b759f0b 1/8: First Elisp version of lisp/shorthand.el, failing some tests, João Távora, 2021/09/21
- feature/shorthand-namespacing b5e4902 2/8: Move most of the shorthand implementation to C code, João Távora, 2021/09/21
- feature/shorthand-namespacing 6bc684c 7/8: Rework docstring of hack-elisp-shorthands,
João Távora <=
- feature/shorthand-namespacing 4d5f6ad 8/8: Adjust C style and add comments to shorthand code, João Távora, 2021/09/21
- feature/shorthand-namespacing a527a1a 6/8: Rework elisp-shorthands to only allow only prefix substitution, João Távora, 2021/09/21
- feature/shorthand-namespacing 2e607b3 3/8: Robustify checking of shorthand-shorthands, João Távora, 2021/09/21
- feature/shorthand-namespacing 4b61464 5/8: Add a test for byte-compilation, João Távora, 2021/09/21
- feature/shorthand-namespacing 8076838 4/8: Integrate shorthand functionality into elisp-mode.el, João Távora, 2021/09/21