Bind inhibit-modification-hooks rather than a/b-c-f
* lisp/wid-edit.el (widget-editable-list-insert-before) (widget-editable-list-delete-at): * lisp/progmodes/cperl-mode.el (cperl-find-pods-heres) (cperl-font-lock-unfontify-region-function): * lisp/progmodes/antlr-mode.el (save-buffer-state-x): * lisp/obsolete/longlines.el (longlines-mode): * lisp/obsolete/fast-lock.el (save-buffer-state): * lisp/mouse.el (mouse-save-then-kill-delete-region): * lisp/gnus/message.el (message-hide-headers): * lisp/eshell/esh-mode.el (eshell-send-input, eshell-output-filter): * lisp/ibuffer.el (ibuffer-update-title-and-summary) (ibuffer-redisplay-engine): Bind inhibit-modification-hooks to t rather than after/before-change-functions to nil.
This commit is contained in:
parent
e125dce50b
commit
166812addb
10 changed files with 19 additions and 20 deletions
|
@ -627,10 +627,11 @@ newline."
|
|||
(let ((proc-running-p (and (eshell-interactive-process)
|
||||
(not queue-p)))
|
||||
(inhibit-point-motion-hooks t)
|
||||
after-change-functions)
|
||||
(inhibit-modification-hooks t))
|
||||
(unless (and proc-running-p
|
||||
(not (eq (process-status
|
||||
(eshell-interactive-process)) 'run)))
|
||||
(eshell-interactive-process))
|
||||
'run)))
|
||||
(if (or proc-running-p
|
||||
(>= (point) eshell-last-output-end))
|
||||
(goto-char (point-max))
|
||||
|
@ -697,7 +698,7 @@ This is done after all necessary filtering has been done."
|
|||
(let ((oprocbuf (if process (process-buffer process)
|
||||
(current-buffer)))
|
||||
(inhibit-point-motion-hooks t)
|
||||
after-change-functions)
|
||||
(inhibit-modification-hooks t))
|
||||
(let ((functions eshell-preoutput-filter-functions))
|
||||
(while (and functions string)
|
||||
(setq string (funcall (car functions) string))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue