Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mwilck:branches:Kernel:kdump
crash
crash-make-emacs-default.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File crash-make-emacs-default.diff of Package crash
--- main.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) Index: crash-7.2.7/main.c =================================================================== --- crash-7.2.7.orig/main.c +++ crash-7.2.7/main.c @@ -1169,12 +1169,6 @@ setup_environment(int argc, char **argv) pc->flags |= READLINE; pc->editing_mode = "no_mode"; - if ((p1 = getenv("EDITOR"))) { - if (strstr(p1, "vi")) - pc->editing_mode = "vi"; - if (strstr(p1, "emacs")) - pc->editing_mode = "emacs"; - } /* * Resolve $HOME .rc file first, then the one in the local directory. @@ -1224,7 +1218,7 @@ setup_environment(int argc, char **argv) } if (STREQ(pc->editing_mode, "no_mode")) - pc->editing_mode = "vi"; + pc->editing_mode = "emacs"; machdep_init(SETUP_ENV); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor