diff options
author | Miles Bader <miles@gnu.org> | 2007-12-16 04:31:33 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2007-12-16 04:31:33 +0000 |
commit | bbbe940b6d5834189ea6d48d70a2e8f113cf53e9 (patch) | |
tree | 066e474ab26c558dee63239298f1b9a5441cef77 /lisp/gnus/gnus-util.el | |
parent | 30361feeba69e643550298efc507822a769b8c00 (diff) | |
download | emacs-bbbe940b6d5834189ea6d48d70a2e8f113cf53e9.tar.gz emacs-bbbe940b6d5834189ea6d48d70a2e8f113cf53e9.tar.bz2 emacs-bbbe940b6d5834189ea6d48d70a2e8f113cf53e9.zip |
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-955
Diffstat (limited to 'lisp/gnus/gnus-util.el')
-rw-r--r-- | lisp/gnus/gnus-util.el | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el index 7b36c07da62..56aacf0d5a6 100644 --- a/lisp/gnus/gnus-util.el +++ b/lisp/gnus/gnus-util.el @@ -337,15 +337,23 @@ Symbols are also allowed; their print names are used instead." ;; Two silly functions to ensure that all `y-or-n-p' questions clear ;; the echo area. -(defun gnus-y-or-n-p (prompt) - (prog1 - (y-or-n-p prompt) - (message ""))) - -(defun gnus-yes-or-no-p (prompt) - (prog1 - (yes-or-no-p prompt) - (message ""))) +;; +;; Do we really need these aliases? Workarounds for bugs in the corresponding +;; Emacs functions? Maybe these bug are no longer present in any supported +;; (X)Emacs version? Alias them to the original functions and see if anyone +;; reports a problem. If not, replace with original functions. --rsteib +;; +;; (defun gnus-y-or-n-p (prompt) +;; (prog1 +;; (y-or-n-p prompt) +;; (message ""))) +;; (defun gnus-yes-or-no-p (prompt) +;; (prog1 +;; (yes-or-no-p prompt) +;; (message ""))) + +(defalias 'gnus-y-or-n-p 'y-or-n-p) +(defalias 'gnus-yes-or-no-p 'yes-or-no-p) ;; By Frank Schmitt <ich@Frank-Schmitt.net>. Allows to have ;; age-depending date representations. (e.g. just the time if it's |