diff options
Diffstat (limited to 'lisp/textmodes/two-column.el')
-rw-r--r-- | lisp/textmodes/two-column.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/textmodes/two-column.el b/lisp/textmodes/two-column.el index c393e1d9bcd..ed51434fe85 100644 --- a/lisp/textmodes/two-column.el +++ b/lisp/textmodes/two-column.el @@ -407,8 +407,7 @@ First column's text sSs Second column's text (if (y-or-n-p (concat "Overwrite associated buffer `" (buffer-name (2C-other)) "'? ")) - (save-excursion - (set-buffer (2C-other)) + (with-current-buffer (2C-other) (erase-buffer)) (signal 'quit nil))) (let ((point (point)) |