aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2011-08-12 22:45:45 +0200
committerJuanma Barranquero2011-08-12 22:45:45 +0200
commit62f1ca498cf11a3fa9b707c115673ea7b298e957 (patch)
tree2613e5b732a9ad12f8059c64c4c9c5a1af280018
parent29dbb8f772081d2f325b894257f3062d6ea404c8 (diff)
downloademacs-62f1ca498cf11a3fa9b707c115673ea7b298e957.tar.gz
emacs-62f1ca498cf11a3fa9b707c115673ea7b298e957.zip
lisp/startup.el (argi): Declare as global variable (bug#9275).
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/startup.el5
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index b9cf5367bf0..07f45b34a54 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-08-12 Juanma Barranquero <lekktu@gmail.com>
2
3 * startup.el (argi): Declare as global variable (bug#9275).
4
12011-08-12 Chong Yidong <cyd@stupidchicken.com> 52011-08-12 Chong Yidong <cyd@stupidchicken.com>
2 6
3 * subr.el (string-mark-left-to-right): Search the entire string 7 * subr.el (string-mark-left-to-right): Search the entire string
diff --git a/lisp/startup.el b/lisp/startup.el
index 6953ed25ed4..0dee969fb5a 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -105,6 +105,11 @@ This is a convenience alias, so that one can write \(pop argv\)
105inside of --eval command line arguments in order to access 105inside of --eval command line arguments in order to access
106following arguments.") 106following arguments.")
107 107
108(with-no-warnings
109 ;; FIXME: Bad name for a dynamically bound variable
110 (defvar argi nil
111 "Current command-line argument."))
112
108(defvar command-line-functions nil ;; lrs 7/31/89 113(defvar command-line-functions nil ;; lrs 7/31/89
109 "List of functions to process unrecognized command-line arguments. 114 "List of functions to process unrecognized command-line arguments.
110Each function should access the dynamically bound variables 115Each function should access the dynamically bound variables