[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52978: Add doc string indices to easy-mmode macros
From: |
Ivan Sokolov |
Subject: |
bug#52978: Add doc string indices to easy-mmode macros |
Date: |
Mon, 03 Jan 2022 17:33:13 +0300 |
Subj.
>From 3004d0b94127e2af023345943c56a36787deabe6 Mon Sep 17 00:00:00 2001
From: Ivan Sokolov <ivan-p-sokolov@ya.ru>
Date: Mon, 3 Jan 2022 17:21:55 +0300
Subject: [PATCH] Add doc string indices to easy-mmode-defmap and
easy-mmode-defsyntax
---
lisp/emacs-lisp/easy-mmode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index 2d95e91833..cf3ea8c3dd 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -697,7 +697,7 @@ easy-mmode-defmap
"Define a constant M whose value is the result of `easy-mmode-define-keymap'.
The M, BS, and ARGS arguments are as per that function. DOC is
the constant's documentation."
- (declare (indent 1))
+ (declare (doc-string 3) (indent 1))
`(defconst ,m
(easy-mmode-define-keymap ,bs nil (if (boundp ',m) ,m) ,(cons 'list args))
,doc))
@@ -724,7 +724,7 @@ easy-mmode-define-syntax
(defmacro easy-mmode-defsyntax (st css doc &rest args)
"Define variable ST as a syntax-table.
CSS contains a list of syntax specifications of the form (CHAR . SYNTAX)."
- (declare (indent 1))
+ (declare (doc-string 3) (indent 1))
`(progn
(autoload 'easy-mmode-define-syntax "easy-mmode")
(defconst ,st (easy-mmode-define-syntax ,css ,(cons 'list args)) ,doc)))
--
2.34.1
- bug#52978: Add doc string indices to easy-mmode macros,
Ivan Sokolov <=