emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#11692: closed ((featurep 'xemacs) not protecting a


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#11692: closed ((featurep 'xemacs) not protecting against warnings)
Date: Wed, 13 Jun 2012 13:21:02 +0000

Your message dated Wed, 13 Jun 2012 09:17:15 -0400
with message-id <address@hidden>
and subject line Re: bug#11692: (featurep 'xemacs) not protecting against 
warnings
has caused the debbugs.gnu.org bug report #11692,
regarding (featurep 'xemacs) not protecting against warnings
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
11692: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11692
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: (featurep 'xemacs) not protecting against warnings Date: Wed, 13 Jun 2012 13:23:36 +0200
Package: emacs
Version: 24.1.50
Severity: minor

New "not known to be defined" warnings are thrown for some (not all)
unknown functions protected with

  (if (featurep 'xemacs) (xemacs-func) (emacs-func))

or

  (cond ((featurep 'xemacs) (xemacs-func))
        (t (emacs-func)))


Some examples:

emulation/edt-mapper.el:550:1:Warning: the function `console-type' is not
    known to be defined.

emulation/tpu-mapper.el:168:48:Warning: the function `event-key' is not known
    to be defined.

vc/ediff-hook.el:263:1:Warning: the following functions are not known to be
    defined: add-submenu, add-menu-button, ediff-xemacs-init-menus

vc/ediff-init.el:1828:1:Warning: the following functions are not known to be
    defined: device-type, selected-device



--- End Message ---
--- Begin Message --- Subject: Re: bug#11692: (featurep 'xemacs) not protecting against warnings Date: Wed, 13 Jun 2012 09:17:15 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)
> New "not known to be defined" warnings are thrown for some (not all)
> unknown functions protected with

>   (if (featurep 'xemacs) (xemacs-func) (emacs-func))

Indeed, thanks for spotting this (it was because byte-opt was loaded
too late).  Should be fixed now,


        Stefan


--- End Message ---

reply via email to

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