aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-08-10 21:13:58 +0000
committerRichard M. Stallman1998-08-10 21:13:58 +0000
commit2c8d5749a4cd61c22040d8e141f9a5c6f4ee1d21 (patch)
treefff12453569c0d78759ae2b5b2ae79989a1e222a
parent9a599a60c19b71a166de03613879891a37c12517 (diff)
downloademacs-2c8d5749a4cd61c22040d8e141f9a5c6f4ee1d21.tar.gz
emacs-2c8d5749a4cd61c22040d8e141f9a5c6f4ee1d21.zip
(time-stamp-string-preprocess): Add %U code.
-rw-r--r--lisp/time-stamp.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/time-stamp.el b/lisp/time-stamp.el
index fd41a345ab6..b7a85400d72 100644
--- a/lisp/time-stamp.el
+++ b/lisp/time-stamp.el
@@ -69,6 +69,7 @@ Non-date items:
69%f file name without directory %F gives absolute pathname 69%f file name without directory %F gives absolute pathname
70%s system name 70%s system name
71%u user's login name 71%u user's login name
72%U user's full name
72%h mail host name 73%h mail host name
73 74
74Decimal digits between the % and the type character specify the 75Decimal digits between the % and the type character specify the
@@ -445,6 +446,8 @@ With arg, turn time stamping on if and only if arg is positive."
445 (system-name)) 446 (system-name))
446 ((eq cur-char ?u) ;user name 447 ((eq cur-char ?u) ;user name
447 (user-login-name)) 448 (user-login-name))
449 ((eq cur-char ?U) ;user full name
450 (user-full-name))
448 ((eq cur-char ?h) ;mail host name 451 ((eq cur-char ?h) ;mail host name
449 (time-stamp-mail-host-name)) 452 (time-stamp-mail-host-name))
450 )) 453 ))