Skip to content

Commit

Permalink
Fix interactive order
Browse files Browse the repository at this point in the history
  • Loading branch information
myuhe committed Feb 6, 2015
1 parent 2904a0b commit 472e19c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion calfw-cal.el
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ from the diary schedule data."

(defun cfw:open-diary-calendar ()
"Open the diary schedule calendar in the new buffer."
(interactive)
(save-excursion
(interactive)
(let* ((source1 (cfw:cal-create-source))
(cp (cfw:create-calendar-component-buffer
:view 'month
Expand Down
2 changes: 1 addition & 1 deletion calfw.el
Original file line number Diff line number Diff line change
Expand Up @@ -2741,8 +2741,8 @@ this function returns nil."
DATE is initial focus date. If it is nil, today is selected
initially. This function uses the function
`cfw:create-calendar-component-buffer' internally."
(interactive)
(save-excursion
(interactive)
(let ((cp (cfw:create-calendar-component-buffer
:date date :buffer buffer :custom-map custom-map
:contents-sources contents-sources
Expand Down

0 comments on commit 472e19c

Please sign in to comment.