* Re: [Emacs-diffs] master 9004011: Port tls.el to older Emacs
[not found] ` <E1ZWaBw-0002NZ-56@vcs.savannah.gnu.org>
@ 2015-09-01 15:48 ` Stefan Monnier
2015-09-01 23:00 ` Katsumi Yamaoka
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2015-09-01 15:48 UTC (permalink / raw)
To: emacs-devel; +Cc: Katsumi Yamaoka
> +(eval-and-compile
> + (if (fboundp 'format-message)
> + (defalias 'tls-format-message 'format-message)
> + ;; for Emacs < 25, and XEmacs, don't worry about quote translation.
> + (defalias 'tls-format-message 'format)))
This should be
(defalias 'tls-format-message
(if (fboundp 'format-message) 'format-message
;; for Emacs < 25, and XEmacs, don't worry about quote translation.
'format))
at which point it shouldn't require `eval-and-compile' any more.
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Emacs-diffs] master 9004011: Port tls.el to older Emacs
2015-09-01 15:48 ` [Emacs-diffs] master 9004011: Port tls.el to older Emacs Stefan Monnier
@ 2015-09-01 23:00 ` Katsumi Yamaoka
0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2015-09-01 23:00 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
On Tue, 01 Sep 2015 11:48:17 -0400, Stefan Monnier wrote:
>> +(eval-and-compile
[...]
> This should be
> (defalias 'tls-format-message
> (if (fboundp 'format-message) 'format-message
> ;; for Emacs < 25, and XEmacs, don't worry about quote translation.
> 'format))
> at which point it shouldn't require `eval-and-compile' any more.
Done. Thank you for a good suggestion. I've done so on
gnus-format-message too, though not yet used in gnus-util.el.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-01 23:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20150901011652.9111.94165@vcs.savannah.gnu.org>
[not found] ` <E1ZWaBw-0002NZ-56@vcs.savannah.gnu.org>
2015-09-01 15:48 ` [Emacs-diffs] master 9004011: Port tls.el to older Emacs Stefan Monnier
2015-09-01 23:00 ` Katsumi Yamaoka
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.