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
ca67b44e
Commit
ca67b44e
authored
Nov 09, 1996
by
Richard M. Stallman
Browse files
(list-diary-entries): Reread the diary file if it has changed.
parent
7e7c9c4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
lisp/calendar/diary-lib.el
lisp/calendar/diary-lib.el
+5
-3
No files found.
lisp/calendar/diary-lib.el
View file @
ca67b44e
...
...
@@ -239,9 +239,11 @@ These hooks have the following distinct roles:
(
message
"Preparing diary..."
)
(
save-excursion
(
let
((
diary-buffer
(
find-buffer-visiting
d-file
)))
(
set-buffer
(
if
diary-buffer
diary-buffer
(
find-file-noselect
d-file
t
))))
(
if
(
not
diary-buffer
)
(
set-buffer
(
find-file-noselect
d-file
t
))
(
set-buffer
diary-buffer
)
(
or
(
verify-visited-file-modtime
diary-buffer
)
(
revert-buffer
t
t
))))
(
setq
selective-display
t
)
(
setq
selective-display-ellipses
nil
)
(
setq
old-diary-syntax-table
(
syntax-table
))
...
...
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