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
8b431855
Commit
8b431855
authored
Apr 13, 2000
by
Gerd Moellmann
Browse files
(include-other-diary-files): Fix the fix of
2000-02-18 by doing a save-excursion.
parent
aa455f0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
lisp/calendar/diary-lib.el
lisp/calendar/diary-lib.el
+5
-4
No files found.
lisp/calendar/diary-lib.el
View file @
8b431855
...
...
@@ -383,10 +383,11 @@ changing the variable `diary-include-string'."
(
setq
diary-entries-list
(
append
diary-entries-list
(
list-diary-entries
original-date
number
)))
(
set-buffer
(
find-buffer-visiting
diary-file
))
(
subst-char-in-region
(
point-min
)
(
point-max
)
?\^M
?\n
t
)
(
setq
selective-display
nil
)
(
set-buffer-modified-p
diary-modified
))
(
save-excursion
(
set-buffer
(
find-buffer-visiting
diary-file
))
(
subst-char-in-region
(
point-min
)
(
point-max
)
?\^M
?\n
t
)
(
setq
selective-display
nil
)
(
set-buffer-modified-p
diary-modified
)))
(
beep
)
(
message
"Can't read included diary file %s"
diary-file
)
(
sleep-for
2
))
...
...
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