]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/progmodes/xref.el (xref-after-jump-hook): Remove 'recenter'
authorEshel Yaron <me@eshelyaron.com>
Thu, 30 Jan 2025 17:59:52 +0000 (18:59 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 30 Jan 2025 17:59:52 +0000 (18:59 +0100)
lisp/progmodes/xref.el

index a837d840e5c8e704928a601b08264e7e4a6c8732..9aaa119c023051e0abdfbac91fb14f96049ef216 100644 (file)
@@ -399,8 +399,7 @@ elements is negated: these commands will NOT prompt."
                      (const :tag "Except for commands listed below" not)
                      (repeat :inline t (symbol :tag "command")))))
 
-(defcustom xref-after-jump-hook '(recenter
-                                  xref-pulse-momentarily)
+(defcustom xref-after-jump-hook '(xref-pulse-momentarily)
   "Functions called after jumping to an xref.
 Also see `xref-current-item'."
   :type 'hook)
@@ -468,8 +467,6 @@ are predefined:
   :version "29.1"
   :package-version '(xref . "1.6.0"))
 
-(make-obsolete-variable 'xref--marker-ring 'xref--history "29.1")
-
 (defun xref-set-marker-ring-length (_var _val)
   (declare (obsolete
             "this function has no effect: Xref marker ring is now unlimited in size"