aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorStefan Monnier2015-09-12 00:30:02 -0400
committerStefan Monnier2015-09-12 00:30:02 -0400
commit166812addb0a1b9b2258ef3ce76424cd7facfa8b (patch)
tree9ed1838de7761bf24b94d2182e66a6a696d5baf2 /lisp/eshell
parente125dce50b2fa1c5f57f6ca00ea679437593bdc4 (diff)
downloademacs-166812addb0a1b9b2258ef3ce76424cd7facfa8b.tar.gz
emacs-166812addb0a1b9b2258ef3ce76424cd7facfa8b.zip
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.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/esh-mode.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/eshell/esh-mode.el b/lisp/eshell/esh-mode.el
index 22ccf4e91f9..3df820d5956 100644
--- a/lisp/eshell/esh-mode.el
+++ b/lisp/eshell/esh-mode.el
@@ -627,10 +627,11 @@ newline."
627 (let ((proc-running-p (and (eshell-interactive-process) 627 (let ((proc-running-p (and (eshell-interactive-process)
628 (not queue-p))) 628 (not queue-p)))
629 (inhibit-point-motion-hooks t) 629 (inhibit-point-motion-hooks t)
630 after-change-functions) 630 (inhibit-modification-hooks t))
631 (unless (and proc-running-p 631 (unless (and proc-running-p
632 (not (eq (process-status 632 (not (eq (process-status
633 (eshell-interactive-process)) 'run))) 633 (eshell-interactive-process))
634 'run)))
634 (if (or proc-running-p 635 (if (or proc-running-p
635 (>= (point) eshell-last-output-end)) 636 (>= (point) eshell-last-output-end))
636 (goto-char (point-max)) 637 (goto-char (point-max))
@@ -697,7 +698,7 @@ This is done after all necessary filtering has been done."
697 (let ((oprocbuf (if process (process-buffer process) 698 (let ((oprocbuf (if process (process-buffer process)
698 (current-buffer))) 699 (current-buffer)))
699 (inhibit-point-motion-hooks t) 700 (inhibit-point-motion-hooks t)
700 after-change-functions) 701 (inhibit-modification-hooks t))
701 (let ((functions eshell-preoutput-filter-functions)) 702 (let ((functions eshell-preoutput-filter-functions))
702 (while (and functions string) 703 (while (and functions string)
703 (setq string (funcall (car functions) string)) 704 (setq string (funcall (car functions) string))