emacs-devel
[Top][All Lists]
Advanced

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

Re: deferred-action


From: Juanma Barranquero
Subject: Re: deferred-action
Date: Mon, 21 Mar 2011 17:37:46 +0100

On Mon, Mar 21, 2011 at 17:34, Stefan Monnier <address@hidden> wrote:

> That's because that would require a coding convention for its use, and
> nobody came up with such a thing.

That's a clue about how useful have they been. Are you OK with this patch?

    Juanma



2011-03-21  Juanma Barranquero  <address@hidden>

        * subr.el (deferred-action-list, deferred-action-function):
        Mark as obsolete.


2011-03-21  Juanma Barranquero  <address@hidden>

        * NEWS: Document the `deferred-action-*' variables as obsolete.


=== modified file 'etc/NEWS'
--- etc/NEWS    2011-03-20 10:35:27 +0000
+++ etc/NEWS    2011-03-21 16:14:09 +0000
@@ -829,6 +829,9 @@
 with a nil or omitted VALUE argument, the reporter message is
 displayed with a "spinning bar".

+** `deferred-action-list' and `deferred-action-function' are now obsolete.
+Code using them can be adapted to use `post-command-hook' instead.
+
 
 * Changes in Emacs 24.1 on non-free operating systems


=== modified file 'lisp/subr.el'
--- lisp/subr.el        2011-03-15 02:42:31 +0000
+++ lisp/subr.el        2011-03-21 15:33:56 +0000
@@ -1107,6 +1107,9 @@
 (make-obsolete 'process-filter-multibyte-p nil "23.1")
 (make-obsolete 'set-process-filter-multibyte nil "23.1")

+(make-obsolete-variable 'deferred-action-list 'post-command-hook "24.1")
+(make-obsolete-variable 'deferred-action-function 'post-command-hook "24.1")
+
 (make-obsolete-variable
  'mode-line-inverse-video
  "use the appropriate faces instead."



reply via email to

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