diff options
| author | Stefan Kangas | 2024-02-04 10:28:18 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2024-02-04 11:41:06 +0100 |
| commit | 56d0fbd99a87858717e08488df57db7fc08a2891 (patch) | |
| tree | 2ec1b737dacf5da3bf11195e0f2a858b9f155570 | |
| parent | fc8b09484a2fbe182a0351c47afc3bf71f3b2a1b (diff) | |
| download | emacs-56d0fbd99a87858717e08488df57db7fc08a2891.tar.gz emacs-56d0fbd99a87858717e08488df57db7fc08a2891.zip | |
Add alias progress-reporter-make
* lisp/subr.el (progress-reporter-make): New alias for
'make-progress-reporter'.
| -rw-r--r-- | lisp/subr.el | 5 |
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 @@ | |||
| 1 | ;;; subr.el --- basic lisp subroutines for Emacs -*- lexical-binding:t -*- | 1 | ;;; subr.el --- basic lisp subroutines for Emacs -*- lexical-binding:t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985-1986, 1992, 1994-1995, 1999-2024 Free Software | 3 | ;; Copyright (C) 1985-2024 Free Software Foundation, Inc. |
| 4 | ;; Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | ;; Maintainer: emacs-devel@gnu.org | 5 | ;; Maintainer: emacs-devel@gnu.org |
| 7 | ;; Keywords: internal | 6 | ;; Keywords: internal |
| @@ -6736,6 +6735,8 @@ effectively rounded up." | |||
| 6736 | (progress-reporter-update reporter (or current-value min-value)) | 6735 | (progress-reporter-update reporter (or current-value min-value)) |
| 6737 | reporter)) | 6736 | reporter)) |
| 6738 | 6737 | ||
| 6738 | (defalias 'progress-reporter-make #'make-progress-reporter) | ||
| 6739 | |||
| 6739 | (defun progress-reporter-force-update (reporter &optional value new-message suffix) | 6740 | (defun progress-reporter-force-update (reporter &optional value new-message suffix) |
| 6740 | "Report progress of an operation in the echo area unconditionally. | 6741 | "Report progress of an operation in the echo area unconditionally. |
| 6741 | 6742 | ||