# HG changeset patch # User Oleksandr Gavenko # Date 1460974846 -10800 # Node ID ad2b19c9d05dccb73653578881c7c9bde680e44d # Parent 5a9b828f8de79d8066254472df358b32cda9ef99 Fix: "recenter-top-bottom" => "recenter" to place view point at center of buffer in all cases. diff -r 5a9b828f8de7 -r ad2b19c9d05d contrib/gadict.el --- a/contrib/gadict.el Mon Apr 18 13:14:02 2016 +0300 +++ b/contrib/gadict.el Mon Apr 18 13:20:46 2016 +0300 @@ -176,14 +176,14 @@ definition. Check for headwords ordering during search." (interactive (list (read-string "Headword: "))) (gadict-search-floor headword) - (recenter-top-bottom)) + (recenter)) (defun gadict-insert-template-in-order (headword) "Insert new article template with respect of headword order." (interactive (list (read-string "Headword: "))) (unless (gadict-search-floor headword) (gadict-insert-template headword)) - (recenter-top-bottom)) + (recenter)) (defun gadict-setup-keymap () "Setup gadict keymap."