roman / golden-ratio.el

Automatic resizing of Emacs windows to the golden ratio
MIT License
589 stars 38 forks source link

Silence byte-compiler #88

Open skangas opened 2 years ago

skangas commented 2 years ago

This fixes some byte-compiler warnings:

Compiling file /home/skangas/wip/emacs-packages/golden-ratio/golden-ratio.el at Wed Jan  5 14:31:03 2022
Entering directory ‘/home/skangas/wip/emacs-packages/golden-ratio/’
golden-ratio.el:35:30: Warning: Package cl is deprecated

In golden-ratio:
golden-ratio.el:164:25: Warning: reference to free variable
    ‘golden-ratio-mode’
golden-ratio.el:170:20: Warning: ‘loop’ is an obsolete alias (as of 27.1); use
    ‘cl-loop’ instead.
golden-ratio.el:173:20: Warning: ‘loop’ is an obsolete alias (as of 27.1); use
    ‘cl-loop’ instead.

In golden-ratio--post-command-hook:
golden-ratio.el:199:25: Warning: ‘loop’ is an obsolete alias (as of 27.1); use
    ‘cl-loop’ instead.
pataquets commented 11 months ago

@skangas: FYI, #91 got merged.