Add alias progress-reporter-make

* lisp/subr.el (progress-reporter-make): New alias for
'make-progress-reporter'.
This commit is contained in:
Stefan Kangas 2024-02-04 10:28:18 +01:00
parent fc8b09484a
commit 56d0fbd99a

View file

@ -1,7 +1,6 @@
;;; subr.el --- basic lisp subroutines for Emacs -*- lexical-binding:t -*-
;; Copyright (C) 1985-1986, 1992, 1994-1995, 1999-2024 Free Software
;; Foundation, Inc.
;; Copyright (C) 1985-2024 Free Software Foundation, Inc.
;; Maintainer: emacs-devel@gnu.org
;; Keywords: internal
@ -6736,6 +6735,8 @@ effectively rounded up."
(progress-reporter-update reporter (or current-value min-value))
reporter))
(defalias 'progress-reporter-make #'make-progress-reporter)
(defun progress-reporter-force-update (reporter &optional value new-message suffix)
"Report progress of an operation in the echo area unconditionally.