* strokes.el (strokes-update-window-configuration): Make strokes

buffer current before erasing (Bug#4906).
This commit is contained in:
Chong Yidong 2009-11-15 15:59:05 +00:00
parent 0566c4bc6b
commit d7063de9b8
2 changed files with 5 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2009-11-15 Chong Yidong <cyd@stupidchicken.com>
* strokes.el (strokes-update-window-configuration): Make strokes
buffer current before erasing (Bug#4906).
* cedet/semantic/idle.el (semantic-idle-summary-mode)
(semantic-idle-summary-mode): Define using define-minor-mode
instead of define-semantic-idle-service.

View file

@ -1061,13 +1061,12 @@ This is based on the last time `strokes-window-configuration' was updated."
;; create `strokes-window-configuration' from scratch...
(save-excursion
(save-window-excursion
(get-buffer-create strokes-buffer-name)
(set-buffer (get-buffer-create strokes-buffer-name))
(set-window-buffer current-window strokes-buffer-name)
(delete-other-windows)
(fundamental-mode)
(auto-save-mode 0)
(if (featurep 'font-lock)
(font-lock-mode 0))
(font-lock-mode 0)
(abbrev-mode 0)
(buffer-disable-undo (current-buffer))
(setq truncate-lines nil)