• Richard M. Stallman's avatar
    (add-hook): Initialize default value and local value. · 0e4d378b
    Richard M. Stallman authored
    (run-hook-with-args-until-success): New function.
    (run-hook-with-args-until-failure): New function.
    (run-hooks): t as hook list element means run the global
    value of the variable as well as the local value.
    (run-hook-with-args): Likewise.
    (make-local-hook): New function.
    (add-hook, remove-hook): New arg LOCAL means modify local value.
    Test default-boundp as well as boundp.
subr.el 33.2 KB