emacs-devel
[Top][All Lists]
Advanced

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

Towards a cleaner build


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

I've got a cold, so I thought that it might be fun to have a look at
some of the byte-compile warnings to see whether there's any low-hanging
fruit that could be easily fixed.  Because warnings are an annoyance
when building Emacs, and hide real problems.

But, of course, I have questions:

In Info-edit:
info.el:4415:4:Warning: ‘Info-edit-mode’ is an obsolete function (as of 24.4);
    editing Info nodes by hand is not recommended.

which is

(make-obsolete 'Info-edit-mode
               "editing Info nodes by hand is not recommended." "24.4")

(defun Info-edit ()
  "Edit the contents of this Info node."
  (interactive)
  (Info-edit-mode)
  (message "%s" (substitute-command-keys
                 "Editing: Type \\<Info-edit-mode-map>\\[Info-cease-edit] to 
return to info")))

(put 'Info-edit 'disabled "Editing Info nodes by hand is not recommended.
This feature will be removed in future.")

(make-obsolete 'Info-edit
               "editing Info nodes by hand is not recommended." "24.4")


etc etc etc.  All the Info-edit stuff was declared obsolete in 24.4, and
I seem to recall that our policy for removing obsolete stuff is two
release cycles?  (I couldn't find anything in admin/notes that said
anything about this explicitly...)  So it OK to remove all the Info-edit
modes and commands now?

-- 
(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]