summaryrefslogtreecommitdiffstats
path: root/debian/patches/use_sensible-editor.patch
blob: 7d2f25114a3db6dd509d859f4a9390cbbf2758f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Last-Update: 2015-03-23
Forwarded: not-needed
Bug-Debian: http://bugs.debian.org/549202
Author: Denis Briand <denis@narcan.fr>
Author: Yury V. Zaytsev <yury@shurup.com>
Description: Use sensible-editor to edit files

--- a/lib/global.h
+++ b/lib/global.h
@@ -123,9 +123,9 @@
 #define IS_PATH_SEP(c) ((c) == PATH_SEP)
 #define PATH_ENV_SEP ':'
 #define TMPDIR_DEFAULT "/tmp"
 #define SCRIPT_SUFFIX ""
-#define get_default_editor() "vi"
+#define get_default_editor() "sensible-editor"
 #define OS_SORT_CASE_SENSITIVE_DEFAULT TRUE
 #define UTF8_CHAR_LEN 6
 
 /* struct stat members */