We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94885b4 commit 1b4642aCopy full SHA for 1b4642a
phpactor.el
@@ -84,6 +84,8 @@
84
(defvar phpactor-history-ring nil)
85
86
(defvar phpactor--buffer-name "*Phpactor*")
87
+(defvar phpactor-after-update-file-hook nil
88
+ "Hook called after the file is updated by phpactor.")
89
90
;;; Constants
91
(defconst phpactor-command-name "phpactor")
@@ -505,7 +507,8 @@ function."
505
507
(message "Buffer modified by phpactor")))
506
508
509
(kill-buffer patchbuf)
- (delete-file tmpfile)))))
510
+ (delete-file tmpfile)))
511
+ (run-hooks 'phpactor-after-update-file-hook)))
512
513
;; Dispatcher:
514
(cl-defun phpactor-action-dispatch (&key action parameters version)
0 commit comments