Add alias progress-reporter-make
* lisp/subr.el (progress-reporter-make): New alias for 'make-progress-reporter'.
This commit is contained in:
parent
fc8b09484a
commit
56d0fbd99a
1 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue