Skip to content

Do as find-function-search-for-symbol does#415

Open
dickmao wants to merge 1 commit into
abo-abo:masterfrom
dickmao:dev
Open

Do as find-function-search-for-symbol does#415
dickmao wants to merge 1 commit into
abo-abo:masterfrom
dickmao:dev

Conversation

@dickmao

@dickmao dickmao commented Jan 26, 2023

Copy link
Copy Markdown

The advised function calls find-library-name on library. Not following suit in the advice causes non-existent files to be opened.

The advised function calls find-library-name on library.
Not following suit in the advice causes non-existent files to be opened.

@basil-conto basil-conto left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If #408 and #413 are addressed (i.e. if hydra.git and elpa.git are brought back in sync), then this PR should no longer be needed.

Comment thread hydra.el
;; if it found the point.
(unless (cdr ad-return-value)
(with-current-buffer (find-file-noselect library)
(with-current-buffer (find-file-noselect (find-library-name library))

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be

(with-current-buffer (car ad-return-value) ...)

instead?

See #413 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants