Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3d976a9a
Commit
3d976a9a
authored
Jul 12, 1997
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(get_system_name): Don't crash if Vsystem_name does not contain a string.
parent
662c2ef2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/editfns.c
src/editfns.c
+4
-1
No files found.
src/editfns.c
View file @
3d976a9a
...
...
@@ -747,7 +747,10 @@ DEFUN ("system-name", Fsystem_name, Ssystem_name, 0, 0, 0,
char
*
get_system_name
()
{
return
(
char
*
)
XSTRING
(
Vsystem_name
)
->
data
;
if
(
STRINGP
(
Vsystem_name
))
return
(
char
*
)
XSTRING
(
Vsystem_name
)
->
data
;
else
return
""
;
}
DEFUN
(
"emacs-pid"
,
Femacs_pid
,
Semacs_pid
,
0
,
0
,
0
,
...
...
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