aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorChong Yidong2009-11-15 15:59:05 +0000
committerChong Yidong2009-11-15 15:59:05 +0000
commitd7063de9b8682d080addd9fe74bf979b6227c978 (patch)
tree018c76402f00bd230bc05743a5d365f471ab4956 /lisp
parent0566c4bc6bbcc88c4bbceda0de362e77b51c20ec (diff)
downloademacs-d7063de9b8682d080addd9fe74bf979b6227c978.tar.gz
emacs-d7063de9b8682d080addd9fe74bf979b6227c978.zip
* strokes.el (strokes-update-window-configuration): Make strokes
buffer current before erasing (Bug#4906).
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/strokes.el5
2 files changed, 5 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6b2b34df0fc..5f623e20a9e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12009-11-15 Chong Yidong <cyd@stupidchicken.com> 12009-11-15 Chong Yidong <cyd@stupidchicken.com>
2 2
3 * strokes.el (strokes-update-window-configuration): Make strokes
4 buffer current before erasing (Bug#4906).
5
3 * cedet/semantic/idle.el (semantic-idle-summary-mode) 6 * cedet/semantic/idle.el (semantic-idle-summary-mode)
4 (semantic-idle-summary-mode): Define using define-minor-mode 7 (semantic-idle-summary-mode): Define using define-minor-mode
5 instead of define-semantic-idle-service. 8 instead of define-semantic-idle-service.
diff --git a/lisp/strokes.el b/lisp/strokes.el
index ba5ca20a2c1..e2f5093de18 100644
--- a/lisp/strokes.el
+++ b/lisp/strokes.el
@@ -1061,13 +1061,12 @@ This is based on the last time `strokes-window-configuration' was updated."
1061 ;; create `strokes-window-configuration' from scratch... 1061 ;; create `strokes-window-configuration' from scratch...
1062 (save-excursion 1062 (save-excursion
1063 (save-window-excursion 1063 (save-window-excursion
1064 (get-buffer-create strokes-buffer-name) 1064 (set-buffer (get-buffer-create strokes-buffer-name))
1065 (set-window-buffer current-window strokes-buffer-name) 1065 (set-window-buffer current-window strokes-buffer-name)
1066 (delete-other-windows) 1066 (delete-other-windows)
1067 (fundamental-mode) 1067 (fundamental-mode)
1068 (auto-save-mode 0) 1068 (auto-save-mode 0)
1069 (if (featurep 'font-lock) 1069 (font-lock-mode 0)
1070 (font-lock-mode 0))
1071 (abbrev-mode 0) 1070 (abbrev-mode 0)
1072 (buffer-disable-undo (current-buffer)) 1071 (buffer-disable-undo (current-buffer))
1073 (setq truncate-lines nil) 1072 (setq truncate-lines nil)