]> git.eshelyaron.com Git - emacs.git/commitdiff
Add alias progress-reporter-make
authorStefan Kangas <stefankangas@gmail.com>
Sun, 4 Feb 2024 09:28:18 +0000 (10:28 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 4 Feb 2024 11:06:10 +0000 (12:06 +0100)
* lisp/subr.el (progress-reporter-make): New alias for
'make-progress-reporter'.

(cherry picked from commit 56d0fbd99a87858717e08488df57db7fc08a2891)

lisp/subr.el

index a97824965b502c82c4ce74753a0e4aa08ac195e5..582415a9761219e4017dccde1c832bfc75105482 100644 (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.