]> git.eshelyaron.com Git - emacs.git/commit
Misc cleanup.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 Nov 2001 04:12:47 +0000 (04:12 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 28 Nov 2001 04:12:47 +0000 (04:12 +0000)
commit067d92a1b8fd31c464bbff20a16ccee0fb56a95f
tree24466c68fbe29294c108bd2ec59d2d7a35178851
parentaa3b4ded23a702a250ca209f603edd92d2f395a5
Misc cleanup.
(hide-ifdef-mode-submap): Put the def in the defvar.
Use substitute-key-definition.
(hide-ifdef-mode): Use define-minor-mode.
(hif-outline-flag-region): Remove.
(hif-show-all): Define in terms of hif-show-ifdef-region.
(hif-after-revert-function): Rename from hif-before-revert-function.
(hide-ifdef-region, hif-show-ifdef-region): Use overlays.
(hif-tokenize): Use with-syntax-table.
(hif-make-range): Use `else' also for `else-p'.
(hif-range-else-p): Remove.
(hif-find-range): Simplify.
(hif-hide-line): Don't bother preserving buffer-modified-p.
(hide-ifdefs, show-ifdefs, hide-ifdef-block, show-ifdef-block):
Don't use selective-display and inhibit-read-only.
lisp/progmodes/hideif.el