* src/eval.c (enum run_hooks_condition): Remove. (funcall_nil, funcall_not): New functions. (run_hook_with_args): Call each function through a `funcall' argument. Remove `cond' argument, now redundant. (Frun_hooks, Frun_hook_with_args, Frun_hook_with_args_until_success) (Frun_hook_with_args_until_failure): Adjust accordingly. (run_hook_wrapped_funcall, Frun_hook_wrapped): New functions. * src/keyboard.c (safe_run_hook_funcall): New function. (safe_run_hooks_1, safe_run_hooks_error, safe_run_hooks): On error, don't set the hook to nil, but remove the offending function instead. (Qcommand_hook_internal): Remove, unused. (syms_of_keyboard): Don't initialize Qcommand_hook_internal nor define Vcommand_hook_internal. * doc/lispref/commands.texi (Command Overview): post-command-hook is not reset to nil any more.
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
2011-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
|
|
|
|
* variables.texi (Converting to Lexical Binding): New node.
|
|
|
|
2011-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
|
|
|
|
* variables.texi (Scope): Mention the availability of lexical scoping.
|
|
(Lexical Binding): New node.
|
|
* eval.texi (Eval): Add `eval's new `lexical' arg.
|
|
|
|
2011-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
|
|
|
|
* vol2.texi (Top):
|
|
* vol1.texi (Top):
|
|
* objects.texi (Programming Types, Funvec Type, Type Predicates):
|
|
* functions.texi (Functions, What Is a Function, Function Currying):
|
|
* elisp.texi (Top): Remove mentions of funvec and curry.
|
|
|
|
;; Local Variables:
|
|
;; coding: utf-8
|
|
;; End:
|
|
|
|
Copyright (C) 2011 Free Software Foundation, Inc.
|
|
|
|
This file is part of GNU Emacs.
|
|
|
|
GNU Emacs is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
GNU Emacs is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|