comparison src/editfns.c @ 8771:31b8e48045f3

(syms_of_editfns): Make Vsystem_name and Vuser...name lisp variables again.
author Karl Heuer <kwzh@gnu.org>
date Fri, 16 Sep 1994 00:41:59 +0000
parents abd7ff9a94da
children 589f82d1bb32
comparison
equal deleted inserted replaced
8770:b58e8634df8b 8771:31b8e48045f3
1954 1954
1955 1955
1956 void 1956 void
1957 syms_of_editfns () 1957 syms_of_editfns ()
1958 { 1958 {
1959 staticpro (&Vuser_name); 1959 DEFVAR_LISP ("system-name", &Vsystem_name,
1960 staticpro (&Vuser_full_name); 1960 "The name of the machine Emacs is running on.");
1961 staticpro (&Vuser_real_name); 1961
1962 staticpro (&Vsystem_name); 1962 DEFVAR_LISP ("user-full-name", &Vuser_full_name,
1963 "The full name of the user logged in.");
1964
1965 DEFVAR_LISP ("user-name", &Vuser_name,
1966 "The user's name, taken from environment variables if possible.");
1967
1968 DEFVAR_LISP ("user-real-name", &Vuser_real_name,
1969 "The user's name, based upon the real uid only.");
1963 1970
1964 defsubr (&Schar_equal); 1971 defsubr (&Schar_equal);
1965 defsubr (&Sgoto_char); 1972 defsubr (&Sgoto_char);
1966 defsubr (&Sstring_to_char); 1973 defsubr (&Sstring_to_char);
1967 defsubr (&Schar_to_string); 1974 defsubr (&Schar_to_string);