emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Make predicates non-interactive


From: Max Nikulin
Subject: Re: [PATCH] Make predicates non-interactive
Date: Thu, 23 Mar 2023 22:03:38 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0

On 23/03/2023 11:22, Aaron L. Zeng wrote:
+++ b/lisp/org.el
...
@@ -15475,7 +15474,6 @@ If Org mode thinks that point is actually inside
  an embedded LaTeX environment, return t when the environment is math
  or let `texmathp' do its job otherwise.
  `\\[org-cdlatex-mode-map]'"
-  (interactive)
    (cond
     ((not (derived-mode-p 'org-mode)) (apply orig-fun args))
     ((eq this-command 'cdlatex-math-symbol)

Might it be source of problems since `texmathp' is declared as interactive and the purpose of this function is to be around advice? Likely it is a false alarm since the functions have no interactive arguments.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]