emacs-devel
[Top][All Lists]
Advanced

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

Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols


From: Mark Oteiza
Subject: Re: ¬ notation for not? Ref: Add a couple cells to lisp-prettify-symbols-alist
Date: Sun, 10 Jul 2016 01:47:25 -0400
User-agent: Mutt/1.6.1+68 (bf1c73de2b7c) (2016-04-27)

On 10/07/16 at 01:24am, Mark Oteiza wrote:
> One thing I just thought
> of is making a mode's foo-prettify-symbols-alist a defcustom--perhaps
> that will be nicer.

Not pretty, but an example:

  (defcustom my-prettify-symbols-alist
    '(("lambda" . ?λ)
      ("sqrt" . ?√)
      ("not" . ?¬)
      ("*" . ?×)
      ("/" . ?÷))
    "foobar"
    :group 'prettify-symbols
    :type '(alist :key-type string :value-type character)
    :options '("and" "or" "/="
               ("<=" (const :tag "≤" ?≤))
               (">=" (const :tag "≥" ?≥))))



reply via email to

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