[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [elpa] externals/brief f879506125: * brief.el: Remove legacy code an
From: |
Stefan Monnier |
Subject: |
Re: [elpa] externals/brief f879506125: * brief.el: Remove legacy code and fix for the Windows version. |
Date: |
Mon, 30 Jan 2023 12:04:14 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> @@ -7768,6 +7769,8 @@ matter if brief-mode is enabled or not."
>
> (cl-eval-when (compile eval load)
> (when (and (version<= "27.0" emacs-version)
> + ;; prevent compile failure before load
> + (boundp 'brief-replace-emacs-func:line-number-at-pos)
> brief-replace-emacs-func:line-number-at-pos)
> ;; Global replacement, no matter if Brief mode is enabled or not.
> ;; Notice that it dynamically overrides the `line-number-at-pos'
> function
I suspect a better fix is to remove `compile`.
Stefan
- Re: [elpa] externals/brief f879506125: * brief.el: Remove legacy code and fix for the Windows version.,
Stefan Monnier <=