Fix buttons in doom/help-packages

This commit is contained in:
yuhan0 2019-11-01 20:41:14 +08:00
parent d407b3355a
commit ec4a030370

View file

@ -500,10 +500,10 @@ If prefix arg is present, refresh the cache."
'action
`(lambda (_)
(cl-destructuring-bind (file line _match)
,(split-string location ":")
',(split-string location ":")
(find-file (expand-file-name file doom-emacs-dir))
(goto-char (point-min))
(forward-line (1- line))
(forward-line (1- (string-to-number line)))
(recenter)))))
(insert "\n\n")))))