summaryrefslogtreecommitdiff
path: root/lisp/autoinsert.el
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/autoinsert.el
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/autoinsert.el')
-rw-r--r--lisp/autoinsert.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el
index 063d0a14d63..b448c0f8da9 100644
--- a/lisp/autoinsert.el
+++ b/lisp/autoinsert.el
@@ -415,6 +415,7 @@ Matches the visited file name against the elements of `auto-insert-alist'."
"Associate CONDITION with (additional) ACTION in `auto-insert-alist'.
Optional AFTER means to insert action after all existing actions for CONDITION,
or if CONDITION had no actions, after all other CONDITIONs."
+ (declare (indent defun))
(let ((elt (assoc condition auto-insert-alist)))
(if elt
(setcdr elt