Skip to content

Commit

Permalink
fix: attempt to fix byte compilation issue on emacs versions < 28
Browse files Browse the repository at this point in the history
  • Loading branch information
TOTBWF committed Sep 18, 2024
1 parent 0d11b20 commit dea7621
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rg-info-hack.el
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
;;; Commentary:

;;; Code:
(require 'info)

(define-advice info-insert-file-contents
(:after (&rest _) sphinx-info-insert-file-contents)
Expand All @@ -34,7 +35,7 @@ automatically set to `hide' iff it can be determined that this file
is the rg.el documentation and was created from a Texinfo file
generated by Sphinx."
(set (make-local-variable
'Info-hide-note-references)
'Info-hide-note-references)
(default-value 'Info-hide-note-references))
(save-excursion
(save-restriction
Expand Down

0 comments on commit dea7621

Please sign in to comment.