Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d7063de9
Commit
d7063de9
authored
Nov 15, 2009
by
Chong Yidong
Browse files
* strokes.el (strokes-update-window-configuration): Make strokes
buffer current before erasing (Bug#4906).
parent
0566c4bc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/strokes.el
lisp/strokes.el
+2
-3
No files found.
lisp/ChangeLog
View file @
d7063de9
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.
...
...
lisp/strokes.el
View file @
d7063de9
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment