diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2021-10-03 17:58:16 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-10-03 17:59:32 -0700 |
commit | 87153cc9151fe2398c243cf49eb27584c166c58a (patch) | |
tree | 4d647633aa3905d152126a46a6f5fc4284b31897 /lisp/emacs-lisp/derived.el | |
parent | 7e871dcd27bdb827573ca97e609632e178e76f64 (diff) | |
download | emacs-87153cc9151fe2398c243cf49eb27584c166c58a.tar.gz emacs-87153cc9151fe2398c243cf49eb27584c166c58a.tar.bz2 emacs-87153cc9151fe2398c243cf49eb27584c166c58a.zip |
Tweak x_hide_tip for consistency
* src/xfns.c (x_hide_tip, Fx_show_tip): Be consistent about using
!NILP (tip_frame) instead of FRAMEP (tip_frame). The two
expressions are logically equivalent since tip_frame is either a
frame or nil, !NILP is a bit faster, and making things consistent
pacifies gcc 11.2.1 -Wanalyzer-null-dereference.
Diffstat (limited to 'lisp/emacs-lisp/derived.el')
0 files changed, 0 insertions, 0 deletions