emacs-devel
[Top][All Lists]
Advanced

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

Re: master 774c8ec74c9: cperl-mode.el: Make sure cperl-file-style is set


From: Stefan Kangas
Subject: Re: master 774c8ec74c9: cperl-mode.el: Make sure cperl-file-style is set buffer-local
Date: Mon, 8 Jan 2024 22:48:57 -0800

Harald Jörg <haj@posteo.de> writes:

> branch: master
> commit 774c8ec74c98d69d56b2511a613145f2b69fb2eb
> Author: Harald Jörg <haj@posteo.de>
> Commit: Harald Jörg <haj@posteo.de>
>
>     cperl-mode.el: Make sure cperl-file-style is set buffer-local
>
>     * lisp/progmodes/cperl-mode.el (cperl-file-style): Add description
>     what the options actually do.
>     (cperl-menu): Split the menu entry "Indent styles" into "Default
>     indent styles" and "Indent styles for current buffer"
>     (cperl--set-file-style): call `cperl-file-style' instead of
>     `cperl-set-style'.  This completes the fix for Bug#17948.
>     (cperl-set-style): Explain when to use `cperl-file-style'.
>     Use `set-default-toplevel-value' instead of `set'.
>     (cperl-set-style-back): Use `set-default-toplevel-value' instead
>     of `set'.
>     (cperl-file-style): New command to set the file style for the
>     current buffer.
>
>     * etc/NEWS: Announce the new command cperl-file-style.

This lead to a new warning

In cperl-file-style:
progmodes/cperl-mode.el:6561:4: Warning: ‘make-variable-buffer-local’
not called at toplevel



reply via email to

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