Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
72aa7df4
Commit
72aa7df4
authored
Oct 05, 2009
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(calendar-basic-setup): Don't call switch-to-buffer in a dedicated window.
parent
5feb1ba7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/calendar/calendar.el
lisp/calendar/calendar.el
+2
-1
No files found.
lisp/ChangeLog
View file @
72aa7df4
2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
* calendar/calendar.el (calendar-basic-setup): Don't call
switch-to-buffer in a dedicated window.
2009-10-05 Karl Fogel <kfogel@red-bean.com>
* bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
...
...
lisp/calendar/calendar.el
View file @
72aa7df4
...
...
@@ -1321,7 +1321,8 @@ display the generated calendar."
(
if
(
window-splittable-p
t
)
(
split-window-horizontally
))
(
pop-to-buffer
calendar-buffer
)
;; Has the window already been split vertically? (See bug#4543)
(
when
(
=
(
window-height
)
(
window-height
(
frame-root-window
)))
(
when
(
and
(
not
(
window-dedicated-p
))
(
=
(
window-height
)
(
window-height
(
frame-root-window
))))
(
let
((
win
(
split-window-vertically
)))
;; Show something else in the upper window.
(
switch-to-buffer
(
other-buffer
))
...
...
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