summaryrefslogtreecommitdiff
path: root/lisp/international
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-10-13 21:21:23 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-10-13 21:52:57 +0200
commit43f59b91aa2bc5e1771ed68e9a3a84b4aef26ef4 (patch)
tree26b63dd136593a72ab4d64e3a07984bd7d9af944 /lisp/international
parent5be4483d33e574d30146e06b7ed083d1e1ece3d6 (diff)
downloademacs-43f59b91aa2bc5e1771ed68e9a3a84b4aef26ef4.tar.gz
emacs-43f59b91aa2bc5e1771ed68e9a3a84b4aef26ef4.tar.bz2
emacs-43f59b91aa2bc5e1771ed68e9a3a84b4aef26ef4.zip
Mark all def* functions that should indent as `defun'
* lisp/abbrev.el (define-abbrev): (define-abbrev-table): Mark all functions that have names that start with "def" that should indent according to the current heuristics (bug#43329). * lisp/autoinsert.el (define-auto-insert): * lisp/button.el (define-button-type): * lisp/subr.el (define-key-after): (define-mail-user-agent): (define-keymap): * lisp/widget.el (define-widget): * lisp/emacs-lisp/package.el (define-package): * lisp/international/mule-cmds.el (define-char-code-property): * lisp/international/mule.el (define-charset): (define-coding-system): (define-translation-table): (define-translation-hash-table):
Diffstat (limited to 'lisp/international')
-rw-r--r--lisp/international/mule-cmds.el1
-rw-r--r--lisp/international/mule.el4
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index a0a6557c95c..94d2f82e8c8 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -2927,6 +2927,7 @@ Optional 3rd argument DOCSTRING is a documentation string of the property.
See also the documentation of `get-char-code-property' and
`put-char-code-property'."
+ (declare (indent defun))
(or (symbolp name)
(error "Not a symbol: %s" name))
(if (char-table-p table)
diff --git a/lisp/international/mule.el b/lisp/international/mule.el
index 5022a17db5a..3e45a64dc9a 100644
--- a/lisp/international/mule.el
+++ b/lisp/international/mule.el
@@ -218,6 +218,7 @@ corresponding Unicode character code.
If it is a string, it is a name of file that contains the above
information. The file format is the same as what described for `:map'
attribute."
+ (declare (indent defun))
(when (vectorp (car props))
;; Old style code:
;; (define-charset CHARSET-ID CHARSET-SYMBOL INFO-VECTOR)
@@ -890,6 +891,7 @@ non-nil.
VALUE non-nil means Emacs prefers UTF-8 on code detection for
non-ASCII files. This attribute is meaningful only when
`:coding-type' is `undecided'."
+ (declare (indent defun))
(let* ((common-attrs (mapcar 'list
'(:mnemonic
:coding-type
@@ -2320,6 +2322,7 @@ This function sets properties `translation-table' and
`translation-table-id' of SYMBOL to the created table itself and the
identification number of the table respectively. It also registers
the table in `translation-table-vector'."
+ (declare (indent defun))
(let ((table (if (and (char-table-p (car args))
(eq (char-table-subtype (car args))
'translation-table))
@@ -2394,6 +2397,7 @@ Value is what BODY returns."
Analogous to `define-translation-table', but updates
`translation-hash-table-vector' and the table is for use in the CCL
`lookup-integer' and `lookup-character' functions."
+ (declare (indent defun))
(unless (and (symbolp symbol)
(hash-table-p table))
(error "Bad args to define-translation-hash-table"))