emacs-devel
[Top][All Lists]
Advanced

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

Re: Towards a cleaner build


From: Lars Ingebrigtsen
Subject: Re: Towards a cleaner build
Date: Fri, 17 May 2019 15:32:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Hm.  There seems to be some sequencing stuff that's just downright odd.

If I have

(defun minibuffer-completion-contents-1 ()
  (declare (obsolete nil "24.4"))
  (minibuffer-completion-contents-2)
  (buffer-substring (minibuffer-prompt-end) (point)))

(defun minibuffer-completion-contents-2 ()
  (declare (obsolete nil "24.4"))
  (minibuffer-completion-contents-1)
  (buffer-substring (minibuffer-prompt-end) (point)))

then I get

make[1]: Entering directory '/home/larsi/src/emacs/trunk/lisp'
  ELC      minibuffer.elc

In minibuffer-completion-contents-2:
minibuffer.el:743:4:Warning: ‘minibuffer-completion-contents-1’ is an obsolete
    function (as of 24.4).

So I'm able to suppress the first obsolete-to-obsolete call, but not the
second, which...  means that I understand even less about how files are
byte-compiled, and I knew that I knew little.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




reply via email to

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