diff options
author | Jonas Bernoulli <jonas@bernoul.li> | 2022-08-12 15:07:18 +0200 |
---|---|---|
committer | Jonas Bernoulli <jonas@bernoul.li> | 2024-07-06 17:37:23 +0200 |
commit | f74612686b468069849ab36d1c49229312f3434e (patch) | |
tree | d2cb53b6a412a06e02175c8054b898a54250c7be /elisp/geiser-edit.el | |
parent | 67f727855895050aca3bcf37066e804dc8f307de (diff) | |
download | geiser-f74612686b468069849ab36d1c49229312f3434e.tar.gz geiser-f74612686b468069849ab36d1c49229312f3434e.tar.bz2 |
Buttons live in their own namespace
`geiser-doc--xbutton' will be tackled in the next commit.
Diffstat (limited to 'elisp/geiser-edit.el')
-rw-r--r-- | elisp/geiser-edit.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/elisp/geiser-edit.el b/elisp/geiser-edit.el index 54f6c62..0d47cbe 100644 --- a/elisp/geiser-edit.el +++ b/elisp/geiser-edit.el @@ -164,7 +164,7 @@ or following links in error buffers.") ;;; Links -(define-button-type 'geiser-edit--button +(define-button-type 'geiser-edit 'action 'geiser-edit--button-action 'face 'geiser-font-lock-error-link 'follow-link t) @@ -176,7 +176,7 @@ or following links in error buffers.") (defun geiser-edit--make-link (beg end file line col &optional method) (make-button beg end - :type 'geiser-edit--button + :type 'geiser-edit 'geiser-method method 'geiser-location (geiser-edit--make-location 'error file line col) @@ -210,7 +210,7 @@ or following links in error buffers.") (while (> n 0) (let ((b (ignore-errors (funcall nxt 1)))) (unless b (setq n 0)) - (when (and b (eq (button-type b) 'geiser-edit--button)) + (when (and b (eq (button-type b) 'geiser-edit)) (setq n (- n 1)) (when (<= n 0) (setq found t) |