core-popups: fix doom--switch-from-popup

This commit is contained in:
Henrik Lissner 2017-02-24 19:59:36 -05:00
parent be2c1c26b0
commit 2f81ca11a5

View file

@ -288,7 +288,7 @@ the command buffer."
(switch-to-buffer (car location) nil t) (switch-to-buffer (car location) nil t)
(if (not (cdr location)) (if (not (cdr location))
(message "Unable to find location in file") (message "Unable to find location in file")
(goto-char location) (goto-char (cdr location))
(recenter))) (recenter)))
(define-button-type 'help-function-def (define-button-type 'help-function-def