From 373e258a029564554c8cff2c9aeb29f49c630e52 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 25 May 2019 21:22:06 -0700 Subject: [PATCH] [Emacs] Get rid of broken xref hack --- dotfiles/emacs.d/README.org | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index d35be186..490923d1 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -1206,21 +1206,7 @@ Disabling line numbers because they are slow as fuck. #+END_SRC *** Handle xrefs annoying dedicated window garbage #+BEGIN_SRC emacs-lisp -(use-package xref - :config - (defun xref--show-pos-in-buf (pos buf select) - (let ((xref-buf (current-buffer)) - win) - (with-selected-window - (display-buffer buf) - (xref--goto-char pos) - (run-hooks 'xref-after-jump-hook) - (let ((buf (current-buffer))) - (setq win (selected-window)) - (with-current-buffer xref-buf - (setq-local other-window-scroll-buffer buf)))) - (when select - (select-window win))))) +(use-package xref) #+END_SRC ** Fill Setup Get rid of nags about requiring setences to end with two spaces.