]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/shortdoc.el (buffer): Add missing functions
authorMattias Engdegård <mattiase@acm.org>
Sun, 21 Aug 2022 13:48:08 +0000 (15:48 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sun, 21 Aug 2022 14:18:03 +0000 (16:18 +0200)
Add preceding-char and char-before because following-char and
char-after were already there.

lisp/emacs-lisp/shortdoc.el

index 6fb6100bd2d565854c2d58951e75a59c813145ef..43fefc8ed05715c90d96658d842cd2363d07c83a 100644 (file)
@@ -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")