diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-12-29 12:37:53 -0800 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-07-26 23:28:25 -0400 |
commit | a55b5a4269e3d63bbf9b2264a92a50865da79929 (patch) | |
tree | bb4878ad700a61328caa713c4a2be775723bd576 | |
parent | 72416b82ac9bf0ed9ad60d693c8ffeb8e5c65df1 (diff) | |
download | org-mode-a55b5a4269e3d63bbf9b2264a92a50865da79929.tar.gz |
Backport commit f9acac7 from Emacs master branch
* lisp/org-clock.el (org-clock-save):
Prefer (system-name) to system-name, and avoid naming
locals 'system-name'.
system-name's returned value can vary
f9acac751d4cd22480e62cc63936b1208ca9fe48
Paul Eggert
Mon Dec 29 12:38:58 2014 -0800
-rw-r--r-- | lisp/org-clock.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el index e8fabab..760b9a4 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -2813,8 +2813,8 @@ The details of what will be saved are regulated by the variable (delete-region (point-min) (point-max)) ;;Store clock (insert (format ";; org-persist.el - %s at %s\n" - system-name (format-time-string - (cdr org-time-stamp-formats)))) + (system-name) (format-time-string + (cdr org-time-stamp-formats)))) (if (and (memq org-clock-persist '(t clock)) (setq b (org-clocking-buffer)) (setq b (or (buffer-base-buffer b) b)) |