; cperl-mode: Fix a compiler warning caused by my previous commit

* lisp/progmodes/cperl-mode.el (cperl-file-style): Replace
'make-variable-buffer-local' with 'make.local-variable'
This commit is contained in:
Harald Jörg 2024-01-09 11:44:43 +01:00
parent 79510d81d8
commit 0a5ebd444a

View file

@ -6556,10 +6556,8 @@ and \"Whitesmith\"."
(dolist (setting (cdr (assoc style cperl-style-alist)) style)
(let ((option (car setting))
(value (cdr setting)))
(make-variable-buffer-local option)
(set option value)))
(make-variable-buffer-local 'cperl-file-style)
(setq cperl-file-style style))
(set (make-local-variable option) value)))
(set (make-local-variable 'cperl-file-style) style))
(declare-function Info-find-node "info"
(filename nodename &optional no-going-back strict-case