emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 25d8045 1/2: Fix elp-*-list interactive specs


From: Lars Ingebrigtsen
Subject: master 25d8045 1/2: Fix elp-*-list interactive specs
Date: Sun, 19 Dec 2021 08:22:34 -0500 (EST)

branch: master
commit 25d80456084e25c6d8b6cdcac21b2122f4ad26f0
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Fix elp-*-list interactive specs
    
    * lisp/emacs-lisp/elp.el (elp-reset-list):
    (elp-restore-list): Fix the interactive specs (bug#52457).
---
 lisp/emacs-lisp/elp.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/elp.el b/lisp/emacs-lisp/elp.el
index fde7947..dce8478 100644
--- a/lisp/emacs-lisp/elp.el
+++ b/lisp/emacs-lisp/elp.el
@@ -301,7 +301,7 @@ For example, to instrument all ELP functions, do the 
following:
 (defun elp-restore-list (&optional list)
   "Restore the original definitions for all functions in `elp-function-list'.
 Use optional LIST if provided instead."
-  (interactive "PList of functions to restore: ") ;FIXME: Doesn't work!?
+  (interactive)
   (mapcar #'elp-restore-function (or list elp-function-list)))
 
 (defun elp-restore-all ()
@@ -323,7 +323,7 @@ Use optional LIST if provided instead."
 (defun elp-reset-list (&optional list)
   "Reset the profiling information for all functions in `elp-function-list'.
 Use optional LIST if provided instead."
-  (interactive "PList of functions to reset: ") ;FIXME: Doesn't work!?
+  (interactive)
   (let ((list (or list elp-function-list)))
     (mapcar 'elp-reset-function list)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]