[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f57297c8b2 1/3: * lisp/emacs-lisp/shortdoc.el (buffer): Add missi
From: |
Mattias Engdegård |
Subject: |
master f57297c8b2 1/3: * lisp/emacs-lisp/shortdoc.el (buffer): Add missing functions |
Date: |
Sun, 21 Aug 2022 11:07:11 -0400 (EDT) |
branch: master
commit f57297c8b2344d822fcf56fb3fc3b543e1e747bf
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
* lisp/emacs-lisp/shortdoc.el (buffer): Add missing functions
Add preceding-char and char-before because following-char and
char-after were already there.
---
lisp/emacs-lisp/shortdoc.el | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lisp/emacs-lisp/shortdoc.el b/lisp/emacs-lisp/shortdoc.el
index 6fb6100bd2..43fefc8ed0 100644
--- a/lisp/emacs-lisp/shortdoc.el
+++ b/lisp/emacs-lisp/shortdoc.el
@@ -984,8 +984,13 @@ A FUNC form can have any number of `:no-eval' (or
`:no-value'),
(following-char
:no-eval (following-char)
:eg-result 67)
+ (preceding-char
+ :no-eval (preceding-char)
+ :eg-result 38)
(char-after
:eval (char-after 45))
+ (char-before
+ :eval (char-before 13))
(get-byte
:no-eval (get-byte 45)
:eg-result-string "#xff")