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

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

bug#5485: apply-macro-to-region-lines - not a bug, but could be improved


From: David Burger
Subject: bug#5485: apply-macro-to-region-lines - not a bug, but could be improved
Date: Wed, 27 Jan 2010 19:14:08 -0800

Unless I am reading the code wrong the or in
apply-macro-to-region-lines that looks like this:

            (execute-kbd-macro (or macro last-kbd-macro)))))

can be removed and changed to this:

            (execute-kbd-macro macro))))

A previous or statement near the top of the script has already left
macro alone or set it to last-kbd-macro if macro was nil.

I'm running emacs 22.something.

dburger







reply via email to

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