* User defined command line switch no longer works
@ 2010-05-25 20:29 mandar.mitra
0 siblings, 0 replies; only message in thread
From: mandar.mitra @ 2010-05-25 20:29 UTC (permalink / raw)
To: help-gnu-emacs
I have the following in my .emacs:
(add-to-list 'command-switch-alist '("diff" . command-line-diff))
(where command-line-diff is a function I've written). This used to
work well, but after moving to emacs 23.1 on Ubuntu 10.04, it no
longer does.
When I run
/usr/bin/emacs -geometry 155x47 -diff file1 file2
I get a message (in the Message buffer) saying:
command-line-1: Unknown option `-diff'
But command-switch-alist's value is (("diff" . command-line-diff)).
Am I doing something wrong? Has something changed since emacs 22? Or
is this some kind of a bug?
Thanks for any suggestions,
Mandar.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-25 20:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-25 20:29 User defined command line switch no longer works mandar.mitra
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).