changeset 10444:c6bc0c89d0ce

(command-line-1): Handle -f with kbd macro.
author Richard M. Stallman <rms@gnu.org>
date Tue, 17 Jan 1995 02:33:49 +0000
parents 855923ce1e59
children a657f6491234
files lisp/startup.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/startup.el	Tue Jan 17 02:33:24 1995 +0000
+++ b/lisp/startup.el	Tue Jan 17 02:33:49 1995 +0000
@@ -609,7 +609,9 @@
 		     (setq tem (intern argval))
 		   (setq tem (intern (car command-line-args-left)))
 		   (setq command-line-args-left (cdr command-line-args-left)))
-		 (funcall tem))
+		 (if (arrayp (symbol-function tem))
+		     (command-execute tem)
+		   (funcall tem)))
 		((or (string-equal argi "-l")
 		     (string-equal argi "-load"))
 		 (if argval