Warning:variable assignment to constant `enable-multibyte-characters'
Opened this issue · 1 comments
i use ubuntu, and i try to lots of times install pymacs, but failed. The message is
''Compiling file /usr/share/emacs/site-lisp/Pymacs/pymacs.el at Tue Aug 21 23:42:08 2012
Entering directory /usr/share/emacs/site-lisp/Pymacs/' pymacs.el:82:13:Warning: variable assignment to constant
enable-multibyte-characters' ".
Same here! I am a bit shocked! :-) File "pymacs.el.in" has this code:
(if (fboundp 'set-buffer-multibyte)
(defalias 'pymacs-set-buffer-multibyte 'set-buffer-multibyte)
(defun pymacs-set-buffer-multibyte (flag)
"For use in Emacs 20.2 or earlier. Under XEmacs: no operation."
(setq enable-multibyte-characters flag)))
Here, function set-buffer-multibyte exists, so the (setq enable-multibyte-characters ...) line should never be executed. How could I keep the parameterization while silencing the compiler?
François