* condition based on show-paren-style option @ 2021-01-01 21:04 michael-franzese 2021-01-01 21:58 ` tomas 2021-01-01 22:13 ` Drew Adams 0 siblings, 2 replies; 3+ messages in thread From: michael-franzese @ 2021-01-01 21:04 UTC (permalink / raw) To: Help Gnu Emacs How can I make a condition based on whether show-paren-style is 'parenthesis or 'expression? ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: condition based on show-paren-style option 2021-01-01 21:04 condition based on show-paren-style option michael-franzese @ 2021-01-01 21:58 ` tomas 2021-01-01 22:13 ` Drew Adams 1 sibling, 0 replies; 3+ messages in thread From: tomas @ 2021-01-01 21:58 UTC (permalink / raw) To: help-gnu-emacs [-- Attachment #1: Type: text/plain, Size: 213 bytes --] On Fri, Jan 01, 2021 at 10:04:06PM +0100, michael-franzese@gmx.com wrote: > How can I make a condition based on whether show-paren-style > is 'parenthesis or 'expression? What are you trying to do? Cheers - t [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: condition based on show-paren-style option 2021-01-01 21:04 condition based on show-paren-style option michael-franzese 2021-01-01 21:58 ` tomas @ 2021-01-01 22:13 ` Drew Adams 1 sibling, 0 replies; 3+ messages in thread From: Drew Adams @ 2021-01-01 22:13 UTC (permalink / raw) To: michael-franzese, Help Gnu Emacs > How can I make a condition based on whether show-paren-style > is 'parenthesis or 'expression? (cl-case show-paren-style (parenthesis DO-THIS) (expression DO-THAT) (t DO-SOMETHING-ELSE)) Or if you don't care about a `mixed' value: (if (eq show-paren-style 'parenthesis) DO-THIS DO-THAT) ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-01 22:13 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2021-01-01 21:04 condition based on show-paren-style option michael-franzese 2021-01-01 21:58 ` tomas 2021-01-01 22:13 ` Drew Adams
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.