aboutsummaryrefslogtreecommitdiff
path: root/emacs/.emacs.d/lisp/my
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2024-06-13 20:07:43 +1000
committerYuchen Pei <id@ypei.org>2024-06-13 20:07:43 +1000
commit97228e1f579a8c31eb25d01ef7f5889a24b87a67 (patch)
treeb8e6aaa114eb8c199c9e3b38502c71c4a1cf03ee /emacs/.emacs.d/lisp/my
parent93abde3cd97332647aad0ac3e1ece1f92af46ce6 (diff)
[emacs] bison-mode required too early
Diffstat (limited to 'emacs/.emacs.d/lisp/my')
-rw-r--r--emacs/.emacs.d/lisp/my/my-prog.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/lisp/my/my-prog.el b/emacs/.emacs.d/lisp/my/my-prog.el
index 900adaf..0d045be 100644
--- a/emacs/.emacs.d/lisp/my/my-prog.el
+++ b/emacs/.emacs.d/lisp/my/my-prog.el
@@ -398,8 +398,8 @@ left and the source buffer on the right.
record))
;;; bison-mode
-(require 'bison-mode)
(defun my-bison-imenu-create-index ()
+ (require 'bison-mode)
(let ((end))
(beginning-of-buffer)
(re-search-forward "^%%")