summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2024-02-04 10:28:18 +0100
committerStefan Kangas <stefankangas@gmail.com>2024-02-04 11:41:06 +0100
commit56d0fbd99a87858717e08488df57db7fc08a2891 (patch)
tree2ec1b737dacf5da3bf11195e0f2a858b9f155570 /lisp/subr.el
parentfc8b09484a2fbe182a0351c47afc3bf71f3b2a1b (diff)
downloademacs-56d0fbd99a87858717e08488df57db7fc08a2891.tar.gz
Add alias progress-reporter-make
* lisp/subr.el (progress-reporter-make): New alias for 'make-progress-reporter'.
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index a97824965b5..582415a9761 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -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.