mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix lookup commands erroring when successful
Because message returns non-nil, and +lookup--jump-to needs to return nil when it fails.
This commit is contained in:
@ -138,7 +138,8 @@ Otherwise, these properties are available to be set:
|
||||
'+lookup--run-hooks
|
||||
identifier (point-marker) other-window)))
|
||||
(cond ((null ret)
|
||||
(message "Could not find '%s'" identifier))
|
||||
(message "Could not find '%s'" identifier)
|
||||
nil)
|
||||
((markerp ret)
|
||||
(funcall (if other-window
|
||||
#'switch-to-buffer-other-window
|
||||
|
Reference in New Issue
Block a user