all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.