diff options
| author | Glenn Morris | 2012-02-04 13:18:46 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-02-04 13:18:46 -0800 |
| commit | f160676e2d1ddacfa63a20859cc3c9f80b882c35 (patch) | |
| tree | 0071a6b7883331554f52a8b6184b082879a12ce7 | |
| parent | c7291ad983d8494ff826b5c2eb4f5611b014de89 (diff) | |
| download | emacs-f160676e2d1ddacfa63a20859cc3c9f80b882c35.tar.gz emacs-f160676e2d1ddacfa63a20859cc3c9f80b882c35.zip | |
ert-x trivia
* lisp/emacs-lisp/ert-x.el (ert-simulate-command):
Check deferred-action-list (which is obsolete) is bound.
* etc/NEWS: Related markup.
| -rw-r--r-- | etc/NEWS | 3 | ||||
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/ert-x.el | 5 |
3 files changed, 9 insertions, 2 deletions
| @@ -1427,7 +1427,10 @@ Use `filter-buffer-substring-functions' instead. | |||
| 1427 | --- | 1427 | --- |
| 1428 | *** `byte-compile-disable-print-circle' is obsolete. | 1428 | *** `byte-compile-disable-print-circle' is obsolete. |
| 1429 | 1429 | ||
| 1430 | --- | ||
| 1430 | *** `deferred-action-list' and `deferred-action-function' are obsolete. | 1431 | *** `deferred-action-list' and `deferred-action-function' are obsolete. |
| 1432 | Use `post-command-hook' instead. | ||
| 1433 | |||
| 1431 | +++ | 1434 | +++ |
| 1432 | *** `font-lock-maximum-size' is obsolete. | 1435 | *** `font-lock-maximum-size' is obsolete. |
| 1433 | 1436 | ||
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2d618c6454c..24fb682235c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-02-04 Glenn Morris <rgm@gnu.org> | 1 | 2012-02-04 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * emacs-lisp/ert-x.el (ert-simulate-command): | ||
| 4 | Check deferred-action-list (which is obsolete) is bound. | ||
| 5 | |||
| 3 | * subr.el (with-wrapper-hook): Doc fixes. | 6 | * subr.el (with-wrapper-hook): Doc fixes. |
| 4 | 7 | ||
| 5 | * simple.el (filter-buffer-substring-functions) | 8 | * simple.el (filter-buffer-substring-functions) |
diff --git a/lisp/emacs-lisp/ert-x.el b/lisp/emacs-lisp/ert-x.el index b9e97854349..257d0528cbc 100644 --- a/lisp/emacs-lisp/ert-x.el +++ b/lisp/emacs-lisp/ert-x.el | |||
| @@ -167,8 +167,9 @@ test for `called-interactively' in the command will fail." | |||
| 167 | (run-hooks 'pre-command-hook) | 167 | (run-hooks 'pre-command-hook) |
| 168 | (setq return-value (apply (car command) (cdr command))) | 168 | (setq return-value (apply (car command) (cdr command))) |
| 169 | (run-hooks 'post-command-hook) | 169 | (run-hooks 'post-command-hook) |
| 170 | (when deferred-action-list | 170 | (and (boundp 'deferred-action-list) |
| 171 | (run-hooks 'deferred-action-function)) | 171 | deferred-action-list |
| 172 | (run-hooks 'deferred-action-function)) | ||
| 172 | (setq real-last-command (car command) | 173 | (setq real-last-command (car command) |
| 173 | last-command this-command) | 174 | last-command this-command) |
| 174 | (when (boundp 'last-repeatable-command) | 175 | (when (boundp 'last-repeatable-command) |