• Stefan Monnier's avatar
    (with-buffer-prepared-for-jit-lock): · bcacade9
    Stefan Monnier authored
    Renamed from with-buffer-prepared-for-font-lock and use
    inhibit-modification-hooks rather than setting *-change-functions.
    Update all functions to use the new name.
    (jit-lock-first-unfontify-pos): New semantics (and doc).
    (jit-lock-mode): Make non-interactive.
    Don't automatically turn on font-lock.
    Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
    Always use jit-lock-after-change.
    Remove and restore font-lock-after-change-function.
    (turn-on-jit-lock, jit-lock-after-fontify-buffer)
    (jit-lock-after-unfontify-buffer): Remove.
    (jit-lock-stealth-fontify):
    Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
    (jit-lock-after-change): Set the `fontified' text-prop to nil.
    bcacade9
jit-lock.el 17.1 KB