File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 91
91
:type 'boolean
92
92
:group 'gist )
93
93
94
+ (defcustom gist-created-fmt " Paste created: %s"
95
+ " Format for the message that gets shown upon successful gist
96
+ creation. Must contain a single %s for the location of the newly
97
+ created gist."
98
+ :type 'string
99
+ :group 'gist )
100
+
94
101
(defcustom gist-supported-modes-alist '((action-script-mode . " as" )
95
102
(c-mode . " c" )
96
103
(c++-mode . " cpp" )
@@ -196,7 +203,7 @@ With a prefix argument, makes a private paste."
196
203
(defun gist-created-callback (gist )
197
204
(let ((location (oref gist :html-url )))
198
205
(gist-list-reload t )
199
- (message " Paste created: %s " location)
206
+ (message gist- created-fmt location)
200
207
(when gist-view-gist
201
208
(browse-url location))
202
209
(kill-new location)))
You can’t perform that action at this time.
0 commit comments