Skip to content

Commit

Permalink
make fanyi.el window width small
Browse files Browse the repository at this point in the history
  • Loading branch information
kimim committed Jun 17, 2023
1 parent fe71b57 commit a2642b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.org
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,8 @@ look up local dictionary with help from ~sdcv~.
(sdcv-search-with-dictionary
word sdcv-dictionary-complete-list))
(insert "\n\n")
(beginning-of-buffer)))))
(beginning-of-buffer)
(window-resize nil (- 35 (window-size nil t)) t)))))

(advice-add 'fanyi-dwim :after
#'kimim/fanyi-dwim-add-sdcv))
Expand Down

0 comments on commit a2642b2

Please sign in to comment.