auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] Wrong usage of completing-read default argument


From: Thierry Volpiatto
Subject: [AUCTeX-devel] Wrong usage of completing-read default argument
Date: Tue, 04 Oct 2011 11:06:25 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Hi all,
In many places auctex use the default argument formatted in the prompt
argument, could you fix that?

e.g in TeX-command-query:

#+BEGIN_SRC lisp
(answer (or TeX-command-force
            (completing-read
             (concat "Command: (default " default ") ")
             (TeX-mode-specific-command-list major-mode) nil t
             nil 'TeX-command-history))))

#+END_SRC

Should use instead:

#+BEGIN_SRC lisp
(answer (or TeX-command-force
            (completing-read
             "Command: "
             (TeX-mode-specific-command-list major-mode) nil t
             nil 'TeX-command-history default))))

#+END_SRC

Thanks.

-- 
 𝕋𝕙𝕚𝕖𝕣𝕣𝕪
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 



reply via email to

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