bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#58282: Distinguishing glasses-mode display


From: Eli Zaretskii
Subject: bug#58282: Distinguishing glasses-mode display
Date: Tue, 04 Oct 2022 21:02:10 +0300

> Date: Tue, 04 Oct 2022 17:28:21 +0000
> From: uzibalqa <uzibalqa@proton.me>
> Cc: dimech@gmx.com, 58282@debbugs.gnu.org
> 
> (defun camelsens (hexcode)
> 
>   "Splits CamelCase phrases using separator."
> 
>   (interactive (list 
> 
>       (completing-read "Utf8_hex_code: " '("\u27A4" "\u25BA" "\u2192") nil t 
> "\u2192")))
> 
>   (setq glasses-separator hexcode)
> 
>   (glasses-mode))
> 
> But this only works the first time I call the function.

You cannot simply assign the value to this variable.  Look at its
defcustom form to understand what is missing.

And anyway, what does this have to do with the bug report?  You are
asking basic Emacs Lisp questions.





reply via email to

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