[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
macro atoms formatting
From: |
Sam Nirvana |
Subject: |
macro atoms formatting |
Date: |
Tue, 17 Jan 2017 16:09:33 +0000 (UTC) |
User-agent: |
Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) |
When I save a macro with M-x insert-kbd-macro sometimes Emacs prints a
well-formatted Lisp function:
(fset 'amacro
(lambda (&optional arg)
"Keyboard macro"
(interactive "p")
(kmacro-exec-ring-item (quote ("<li></li> and other keystrokes..."
0 "%d")) arg)))
sometimes the code is formatted in a quite esoteric form:
(fset 'amacro [?\M-! ? ?x ?m ... and many other ?-sequences... ?\C-
m])
apparently without a reason.
How can I oblige Emacs to format the macro in the first way?
- macro atoms formatting,
Sam Nirvana <=