Skip to content

Commit 1c98d89

Browse files
authored
fix: Use kill-current-buffer instead (#331)
1 parent 95de367 commit 1c98d89

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

lisp/lint/package.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
(eask-msg "`%s` with package-lint (%s)" (ansi-green file) eask-lint-package--version)
5555
(with-current-buffer (find-file filename)
5656
(package-lint-current-buffer)
57-
(kill-this-buffer)))
57+
(kill-current-buffer)))
5858
(eask-print-log-buffer "*Package-Lint*"))
5959

6060
(eask-start

lisp/lint/regexps.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
(capitalize (eask-2str severity)) msg)))
5959
(unless errors
6060
(eask-msg "No issues found"))
61-
(kill-this-buffer))))
61+
(kill-current-buffer))))
6262

6363
(eask-start
6464
;; Preparation

test/development/compat.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
package-generate-description-file
2828
locate-dominating-file
2929
url-file-exists-p
30-
prin1-to-string)
30+
prin1-to-string
31+
kill-current-buffer)
3132
"List of function to check Emacs compatibility.")
3233

3334
(message "Starting compatibility test for functions...")

test/jest/outdated-upgrade/make-outdate.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
(delete-region (point) end)
4545
(insert (format "\"%s\"" make-outdate-version)))))
4646
(save-buffer)
47-
(kill-this-buffer))
47+
(kill-current-buffer))
4848
(let ((dest (expand-file-name (concat name "-" make-outdate-version "/") package-user-dir)))
4949
(eask-info "Moving %s" dir)
5050
(eask-info " to %s" dest)

0 commit comments

Comments
 (0)