##// END OF EJS Templates
mercurial.el: ignore errors on hg-after-save-hook()...
NIIMI Satoshi -
r4694:6bf58c94 default
parent child Browse files
Show More
@@ -764,10 +764,11 b' Push changes G '
764 764 (add-hook 'find-file-hooks 'hg-find-file-hook)
765 765
766 766 (defun hg-after-save-hook ()
767 (ignore-errors
767 768 (let ((old-status hg-status))
768 769 (hg-mode-line)
769 770 (if (and (not old-status) hg-status)
770 (hg-mode))))
771 (hg-mode)))))
771 772
772 773 (add-hook 'after-save-hook 'hg-after-save-hook)
773 774
General Comments 0
You need to be logged in to leave comments. Login now