We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65db1c2 commit 6d391eaCopy full SHA for 6d391ea
gist.el
@@ -91,6 +91,13 @@
91
:type 'boolean
92
:group 'gist)
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
+
101
(defcustom gist-supported-modes-alist '((action-script-mode . "as")
102
(c-mode . "c")
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)))
0 commit comments