Reposition call to set-buffer-modified-p in sieve-upload
* lisp/net/sieve.el (sieve-upload): It's meant to affect the script buffer, not sieve-buffer, so needs to be outside the call to with-current-buffer.
This commit is contained in:
parent
6b10ce867f
commit
bfb4db5e44
1 changed files with 2 additions and 2 deletions
|
|
@ -360,8 +360,8 @@ Used to bracket operations which move point in the sieve-buffer."
|
|||
(if (not (sieve-manage-ok-p err))
|
||||
(message "Sieve upload failed: %s" (nth 2 err))
|
||||
(message "Sieve upload done. Use %s to manage scripts."
|
||||
(substitute-command-keys "\\[sieve-manage]"))
|
||||
(set-buffer-modified-p nil))))))
|
||||
(substitute-command-keys "\\[sieve-manage]"))))
|
||||
(set-buffer-modified-p nil))))
|
||||
|
||||
;;;###autoload
|
||||
(defun sieve-upload-and-bury (&optional name)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue