* lisp/progmodes/xref.el (xref--xref-buffer-mode): Split up 'setq-local'.
xref.el needs to support 26.1, but an arbitrary number of variables in 'setq-local' was added in Emacs 27.1 (bug#62162).
This commit is contained in:
parent
46f9e53c3d
commit
24c8b146bb
1 changed files with 7 additions and 7 deletions
|
@ -994,13 +994,13 @@ point."
|
|||
#'xref--imenu-extract-index-name)
|
||||
(setq-local add-log-current-defun-function
|
||||
#'xref--add-log-current-defun)
|
||||
(setq-local outline-minor-mode-cycle t
|
||||
outline-minor-mode-use-buttons 'insert
|
||||
outline-search-function
|
||||
(setq-local outline-minor-mode-cycle t)
|
||||
(setq-local outline-minor-mode-use-buttons 'insert)
|
||||
(setq-local outline-search-function
|
||||
(lambda (&optional bound move backward looking-at)
|
||||
(outline-search-text-property
|
||||
'xref-group nil bound move backward looking-at))
|
||||
outline-level (lambda () 1)))
|
||||
'xref-group nil bound move backward looking-at)))
|
||||
(setq-local outline-level (lambda () 1)))
|
||||
|
||||
(defvar xref--transient-buffer-mode-map
|
||||
(let ((map (make-sparse-keymap)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue