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 9191 :type 'boolean
9292 :group 'gist )
9393
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+
94101(defcustom gist-supported-modes-alist '((action-script-mode . " as" )
95102 (c-mode . " c" )
96103 (c++-mode . " cpp" )
@@ -196,7 +203,7 @@ With a prefix argument, makes a private paste."
196203(defun gist-created-callback (gist )
197204 (let ((location (oref gist :html-url )))
198205 (gist-list-reload t )
199- (message " Paste created: %s " location)
206+ (message gist- created-fmt location)
200207 (when gist-view-gist
201208 (browse-url location))
202209 (kill-new location)))
You can’t perform that action at this time.
0 commit comments