diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-06-21 23:36:49 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-06-21 23:37:56 -0400 |
commit | 785eee34151b0e18e6e2c83839c686dd675d9cdf (patch) | |
tree | a5e95c7578c89358b9ebf620fe1676216288b5fc | |
parent | 69955d8d75d3a7ab647d3e883f9c64522ebc3dea (diff) | |
download | piem-785eee34151b0e18e6e2c83839c686dd675d9cdf.tar.gz |
process: Ensure output is inserted at end of buffer
A previous process should leave point at the end of the buffer, but
the user is of course free to reposition it afterwards, so move to the
end of the buffer before staring a new process.
-rw-r--r-- | piem.el | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -184,6 +184,7 @@ Functions should accept one argument, the message ID given to (unless (derived-mode-p 'piem-process-mode) (piem-process-mode)) (setq default-directory (file-name-as-directory dir)) + (goto-char (point-max)) (display-buffer buffer) (let ((inhibit-read-only t)) (insert (format "\n%s\n;;; process: %S\n;;; directory: %s\n" |