diff options
Diffstat (limited to 'lisp/net/eudc.el')
-rw-r--r-- | lisp/net/eudc.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/net/eudc.el b/lisp/net/eudc.el index e831aac6356..9b5f5977f9e 100644 --- a/lisp/net/eudc.el +++ b/lisp/net/eudc.el @@ -1036,8 +1036,7 @@ queries the server for the existing fields and displays a corresponding form." (defun eudc-save-options () "Save options to `eudc-options-file'." (interactive) - (save-excursion - (set-buffer (find-file-noselect eudc-options-file t)) + (with-current-buffer (find-file-noselect eudc-options-file t) (goto-char (point-min)) ;; delete the previous setq (let ((standard-output (current-buffer)) |