69
69
(defvar-local stgit-worktree-node nil )
70
70
(defvar-local stgit-expanded-patches '(:work :index ))
71
71
(defvar-local stgit-svn-find-rev-hash nil )
72
- (defvar-local stgit-committed-count)
73
- (defvar-local stgit-show-committed)
74
- (defvar-local stgit-show-ignored)
75
- (defvar-local stgit-show-patch-names)
76
- (defvar-local stgit-show-svn)
77
- (defvar-local stgit-show-unknown)
78
- (defvar-local stgit-show-worktree)
79
- (defvar-local stgit-ewoc)
80
- (defvar-local stgit-edit-patchsym)
81
- (defvar-local stgit-refresh-after-new)
82
- (defvar-local stgit-refresh-after-new)
83
- (defvar-local stgit-sink-to)
84
- (defvar-local stgit-patchsyms)
85
- (defvar-local old-process-sentinel)
86
- (defvar-local stgit-buffer)
72
+ (defvar-local stgit-ewoc nil )
73
+ (defvar-local stgit-edit-patchsym nil )
74
+ (defvar-local stgit-refresh-after-new nil )
75
+ (defvar-local stgit-refresh-after-new nil )
76
+ (defvar-local stgit-sink-to nil )
77
+ (defvar-local stgit-patchsyms nil )
78
+ (defvar-local old-process-sentinel nil )
79
+ (defvar-local stgit-buffer nil )
87
80
88
81
(defun stgit-set-default (symbol value )
89
82
" Set default value of SYMBOL to VALUE using `set-default' and
@@ -108,6 +101,7 @@ setting in an already-started StGit buffer."
108
101
:type 'boolean
109
102
:group 'stgit
110
103
:link '(variable-link stgit-show-worktree))
104
+ (defvar-local stgit-show-worktree stgit-default-show-worktree)
111
105
112
106
(defcustom stgit-default-show-unknown nil
113
107
" Set to non-nil to by default show unknown files a new stgit buffer.
@@ -117,6 +111,7 @@ setting in an already-started StGit buffer."
117
111
:type 'boolean
118
112
:group 'stgit
119
113
:link '(variable-link stgit-show-unknown))
114
+ (defvar-local stgit-show-unknown stgit-default-show-unknown)
120
115
121
116
(defcustom stgit-default-show-ignored nil
122
117
" Set to non-nil to by default show ignored files a new stgit buffer.
@@ -126,6 +121,7 @@ setting in an already-started StGit buffer."
126
121
:type 'boolean
127
122
:group 'stgit
128
123
:link '(variable-link stgit-show-ignored))
124
+ (defvar-local stgit-show-ignored stgit-default-show-ignored)
129
125
130
126
(defcustom stgit-default-show-patch-names t
131
127
" If non-nil, default to showing patch names in a new stgit buffer.
@@ -135,6 +131,7 @@ to toggle the this setting in an already-started StGit buffer."
135
131
:type 'boolean
136
132
:group 'stgit
137
133
:link '(variable-link stgit-show-patch-names))
134
+ (defvar-local stgit-show-patch-names stgit-default-show-patch-names)
138
135
139
136
(defcustom stgit-default-show-committed nil
140
137
" Set to nil to inhibit showing of historical git commits by default.
@@ -146,6 +143,7 @@ shown."
146
143
:group 'stgit
147
144
:link '(variable-link stgit-default-committed-count)
148
145
:link '(variable-link stgit-show-committed))
146
+ (defvar-local stgit-show-committed stgit-default-show-committed)
149
147
150
148
(defcustom stgit-default-committed-count 5
151
149
" The number of historical commits to show when `stgit-show-committed'
@@ -154,6 +152,7 @@ is enabled."
154
152
:group 'stgit
155
153
:link '(variable-link stgit-default-show-committed)
156
154
:link '(variable-link stgit-committed-count))
155
+ (defvar-local stgit-committed-count stgit-default-committed-count)
157
156
158
157
(defcustom stgit-default-show-svn t
159
158
" Set to non-nil to by default show subversion information in a
@@ -164,6 +163,7 @@ setting in an already-started StGit buffer."
164
163
:type 'boolean
165
164
:group 'stgit
166
165
:link '(variable-link stgit-show-worktree))
166
+ (defvar-local stgit-show-svn stgit-default-show-svn)
167
167
168
168
(defcustom stgit-abbreviate-copies-and-renames t
169
169
" If non-nil, abbreviate copies and renames as \" dir/{old -> new}/file\"
0 commit comments