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
f7e85dcf
Commit
f7e85dcf
authored
Aug 29, 2003
by
Richard M. Stallman
Browse files
(mail-abbrevs-sync-aliases): Do nothing if mail-personal-alias-file is nil.
parent
f44a5d58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
lisp/mail/mailabbrev.el
lisp/mail/mailabbrev.el
+7
-6
No files found.
lisp/mail/mailabbrev.el
View file @
f7e85dcf
...
...
@@ -161,12 +161,13 @@ no aliases, which is represented by this being a table with no entries.)")
"The modification time of your mail alias file when it was last examined."
)
(
defun
mail-abbrevs-sync-aliases
()
(
if
(
file-exists-p
mail-personal-alias-file
)
(
let
((
modtime
(
nth
5
(
file-attributes
mail-personal-alias-file
))))
(
if
(
not
(
equal
mail-abbrev-modtime
modtime
))
(
progn
(
setq
mail-abbrev-modtime
modtime
)
(
build-mail-abbrevs
))))))
(
when
mail-personal-alias-file
(
if
(
file-exists-p
mail-personal-alias-file
)
(
let
((
modtime
(
nth
5
(
file-attributes
mail-personal-alias-file
))))
(
if
(
not
(
equal
mail-abbrev-modtime
modtime
))
(
progn
(
setq
mail-abbrev-modtime
modtime
)
(
build-mail-abbrevs
)))))))
;;;###autoload
(
defun
mail-abbrevs-setup
()
...
...
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