emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r105439: lisp/startup.el (argi): Decl


From: Juanma Barranquero
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r105439: lisp/startup.el (argi): Declare as global variable (bug#9275).
Date: Fri, 12 Aug 2011 22:45:45 +0200
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 105439
fixes bug(s): http://debbugs.gnu.org/9275
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Fri 2011-08-12 22:45:45 +0200
message:
  lisp/startup.el (argi): Declare as global variable (bug#9275).
modified:
  lisp/ChangeLog
  lisp/startup.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2011-08-12 15:43:30 +0000
+++ b/lisp/ChangeLog    2011-08-12 20:45:45 +0000
@@ -1,3 +1,7 @@
+2011-08-12  Juanma Barranquero  <address@hidden>
+
+       * startup.el (argi): Declare as global variable (bug#9275).
+
 2011-08-12  Chong Yidong  <address@hidden>
 
        * subr.el (string-mark-left-to-right): Search the entire string

=== modified file 'lisp/startup.el'
--- a/lisp/startup.el   2011-07-14 12:57:06 +0000
+++ b/lisp/startup.el   2011-08-12 20:45:45 +0000
@@ -105,6 +105,11 @@
 inside of --eval command line arguments in order to access
 following arguments.")
 
+(with-no-warnings
+  ;; FIXME: Bad name for a dynamically bound variable
+  (defvar argi nil
+    "Current command-line argument."))
+
 (defvar command-line-functions nil    ;; lrs 7/31/89
   "List of functions to process unrecognized command-line arguments.
 Each function should access the dynamically bound variables


reply via email to

[Prev in Thread] Current Thread [Next in Thread]