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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
f8a0e364
Commit
f8a0e364
authored
Oct 13, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(Fuser_login_name, Fuser_real_login_name):
Call init_editfns now if it was not done before.
parent
c561a0cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
src/editfns.c
src/editfns.c
+10
-0
No files found.
src/editfns.c
View file @
f8a0e364
...
...
@@ -490,6 +490,11 @@ Also, if the environment variable LOGNAME or USER is set,\n\
that determines the value of this function."
)
()
{
/* Set up the user name info if we didn't do it before.
(That can happen if Emacs is dumpable
but you decide to run `temacs -l loadup' and not dump. */
if
(
INTEGERP
(
Vuser_name
))
init_editfns
();
return
Vuser_name
;
}
...
...
@@ -500,6 +505,11 @@ This ignores the environment variables LOGNAME and USER, so it differs from\n\
`user-login-name' when running under `su'."
)
()
{
/* Set up the user name info if we didn't do it before.
(That can happen if Emacs is dumpable
but you decide to run `temacs -l loadup' and not dump. */
if
(
INTEGERP
(
Vuser_name
))
init_editfns
();
return
Vuser_real_name
;
}
...
...
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