I am trying to create new keybindings for quickly italicizing and bold-facing the text in org-mode. By default, org-emphasize
function is provided by org-mode for this. I'm leveraging that for my case.
For example, this is the keybinding for bold-facing the text:
(define-key org-mode-map (kbd "s-b") (
lambda ()
(interactive)
(org-emphasize '*)
))
However, when I run the keybinding, it throws the error:
org-emphasize: Wrong type argument: characterp, *
What am I doing wrong?