diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2020-08-26 18:35:14 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2020-08-26 18:35:14 +0200 |
commit | 17dddeeee560527a8f30d37761949d658056cb09 (patch) | |
tree | 15b0b19c55787f556eb9b42c28d173bddc5435db /etc/indent-code.el | |
parent | 331a09654eb7e9f6212b7e8469077fa7393e8b11 (diff) | |
parent | 6a9581741e4ee81226aeb2f1c997df76670a6aab (diff) |
Merge remote-tracking branch 'origin/master' into core-updates
Diffstat (limited to 'etc/indent-code.el')
-rwxr-xr-x | etc/indent-code.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/indent-code.el b/etc/indent-code.el index 255ffb126b..84b15b356f 100755 --- a/etc/indent-code.el +++ b/etc/indent-code.el @@ -4,6 +4,7 @@ ;; Copyright © 2017 Alex Kost <alezost@gmail.com> ;; Copyright © 2017 Ludovic Courtès <ludo@gnu.org> ;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;; This file is part of GNU Guix. @@ -93,7 +94,7 @@ ;; Indent the definition of PACKAGE-NAME in FILE-NAME. (find-file file-name) (goto-char (point-min)) - (if (re-search-forward (concat "^(define\\(-public\\) +" + (if (re-search-forward (concat "^(define\\(\\|-public\\) +" package-name) nil t) (let ((indent-tabs-mode nil)) |