1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* lisp/replace.el (occur-mode-map): Rebind occur-edit-mode to "e".

(occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
occur-mode-display-occurrence.
(occur-edit-mode): Add usage message.
(occur-cease-edit): New command.
(occur-after-change-function): Use text properties to find the
position of the prefix text.
(occur-engine): Set stickiness of prefix text properties.

Fixes: debbugs:8463
This commit is contained in:
Chong Yidong 2011-09-17 17:28:17 -04:00
parent b8f0a954b8
commit 8c0f49f09c
4 changed files with 68 additions and 39 deletions

View file

@ -632,9 +632,10 @@ an alist of attribute/value pairs."
(setq record (cons (list name value)
record))
(forward-line 1))
(push (if withdn
(cons dn (nreverse record))
(nreverse record)) result)
(cond (withdn
(push (cons dn (nreverse record)) result))
(record
(push (nreverse record) result)))
(setq record nil)
(skip-chars-forward " \t\n")
(message "Parsing results... %d" numres)