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

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

User defined outline-minor-mode-highlight


From: uzibalqa
Subject: User defined outline-minor-mode-highlight
Date: Wed, 07 Jun 2023 11:27:20 +0000

I want to give the user the ability to change the outline
highlighting setting. After taking the user option I call the
intern function to use the appropriate symbol required by
outline-minor-mode-highlight. Is this the correct way to do it ?


(defun taxocask-outl-focus (actm)
  "Setting for outline-minor-mode-highlight."

  (interactive
   (let ( (completion-ignore-case  t)
      (cseq '("t" "append" "override")) )
     (list (completing-read "Outline-Highlight: " cseq nil t))))

  (setq outline-minor-mode-highlight (intern actm)))








reply via email to

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