[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c28d4c9: ; Load xref when needed (not all functions are autoloade
From: |
Mattias Engdegård |
Subject: |
master c28d4c9: ; Load xref when needed (not all functions are autoloaded) |
Date: |
Sat, 21 Aug 2021 14:28:22 -0400 (EDT) |
branch: master
commit c28d4c995e7a08b4b403f4215d9ac7ac7728731b
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
; Load xref when needed (not all functions are autoloaded)
---
lisp/progmodes/prog-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/progmodes/prog-mode.el b/lisp/progmodes/prog-mode.el
index 3babbdc..f75a303 100644
--- a/lisp/progmodes/prog-mode.el
+++ b/lisp/progmodes/prog-mode.el
@@ -44,6 +44,7 @@
prettify-symbols-mode))
(defun prog-context-menu (menu)
+ (require 'xref)
(define-key-after menu [prog-separator] menu-bar-separator
'mark-whole-buffer)
(define-key-after menu [xref-find-def]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master c28d4c9: ; Load xref when needed (not all functions are autoloaded),
Mattias Engdegård <=