From: Eli Zaretskii Date: Tue, 9 Feb 2016 18:30:54 +0000 (+0200) Subject: Disable 'timer-list' X-Git-Tag: emacs-26.0.90~2691 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a6d675393841be3fb56ad20320742e458c7af369;p=emacs.git Disable 'timer-list' * lisp/emacs-lisp/timer-list.el: Make 'timer-list' a disabled command. --- diff --git a/lisp/emacs-lisp/timer-list.el b/lisp/emacs-lisp/timer-list.el index b54902a45f8..eba152325c2 100644 --- a/lisp/emacs-lisp/timer-list.el +++ b/lisp/emacs-lisp/timer-list.el @@ -74,6 +74,9 @@ 'timer timer) (insert "\n"))) (goto-char (point-min))) +;; This command can be destructive if they don't know what they are +;; doing. Kids, don't try this at home! +;;;###autoload (put 'timer-list 'disabled "Beware: manually canceling timers can ruin your Emacs session.") (defvar timer-list-mode-map (let ((map (make-sparse-keymap)))