Skip to content

Commit b2712a6

Browse files
authored
Merge pull request #107 from drvink/patch-1
Fix yanking URL from gist-list buffer
2 parents 9520484 + d01c6c9 commit b2712a6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

gist.el

+1-2
Original file line numberDiff line numberDiff line change
@@ -538,8 +538,7 @@ for the gist."
538538

539539
(defun gist-current-url ()
540540
"Helper function to fetch current gist url"
541-
(let* ((id (or (and (boundp 'gist-list-mode)
542-
gist-list-mode
541+
(let* ((id (or (and (eq major-mode 'gist-list-mode)
543542
(tabulated-list-get-id))
544543
(and (boundp 'gist-mode)
545544
gist-mode

0 commit comments

Comments
 (0)