diff options
| author | Stefan Monnier | 2000-11-29 14:53:45 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2000-11-29 14:53:45 +0000 |
| commit | 6ad948eb502f79cb5872d8fa115f5ce97808ce8d (patch) | |
| tree | b03dad568bd1c0bbf3ba7844be9e61c8d84e16f0 | |
| parent | 62fb5c6645a442dfcc5a32aee9f047e0814fe489 (diff) | |
| download | emacs-6ad948eb502f79cb5872d8fa115f5ce97808ce8d.tar.gz emacs-6ad948eb502f79cb5872d8fa115f5ce97808ce8d.zip | |
(combine-run-hooks): Only run-hooks if there's a hook to run.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/subr.el | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9b7643188d8..114e16bb6f0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2000-11-29 Stefan Monnier <monnier@cs.yale.edu> | ||
| 2 | |||
| 3 | * subr.el (combine-run-hooks): Only run-hooks if there's a hook to run. | ||
| 4 | |||
| 5 | * sort.el (sort-columns): Don't concat strings with numbers. | ||
| 6 | |||
| 1 | 2000-11-29 Dave Love <fx@gnu.org> | 7 | 2000-11-29 Dave Love <fx@gnu.org> |
| 2 | 8 | ||
| 3 | * cus-edit.el (face): Fix :format. | 9 | * cus-edit.el (face): Fix :format. |
diff --git a/lisp/subr.el b/lisp/subr.el index 3adad4268aa..6abec8c5b41 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1140,7 +1140,8 @@ in BODY." | |||
| 1140 | (setq ,saved-combine-run-hooks combine-run-hooks) | 1140 | (setq ,saved-combine-run-hooks combine-run-hooks) |
| 1141 | (fset 'run-hooks ,saved-run-hooks) | 1141 | (fset 'run-hooks ,saved-run-hooks) |
| 1142 | (setq combine-run-hooks t) | 1142 | (setq combine-run-hooks t) |
| 1143 | (apply 'run-hooks ,saved-combine-run-hooks)))))) | 1143 | (if ,saved-combine-run-hooks |
| 1144 | (apply 'run-hooks ,saved-combine-run-hooks))))))) | ||
| 1144 | 1145 | ||
| 1145 | 1146 | ||
| 1146 | (defmacro with-syntax-table (table &rest body) | 1147 | (defmacro with-syntax-table (table &rest body) |