unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5485: apply-macro-to-region-lines - not a bug, but could be improved
@ 2010-01-28  3:14 David Burger
  2010-02-04  5:14 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: David Burger @ 2010-01-28  3:14 UTC (permalink / raw)
  To: 5485

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







^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#5485: apply-macro-to-region-lines - not a bug, but could be improved
  2010-01-28  3:14 bug#5485: apply-macro-to-region-lines - not a bug, but could be improved David Burger
@ 2010-02-04  5:14 ` Glenn Morris
  0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2010-02-04  5:14 UTC (permalink / raw)
  To: 5485-done


Yes; thanks.






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-04  5:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-28  3:14 bug#5485: apply-macro-to-region-lines - not a bug, but could be improved David Burger
2010-02-04  5:14 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).