aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2009-11-04 06:15:41 +0000
committerDan Nicolaescu2009-11-04 06:15:41 +0000
commitf6195dfb584f77aa8d156cdbb21755c42bc5e98f (patch)
treef20f1b14cf85be6642f81983bcfaa2b368b35e11
parent601dd9a3a99ed7433e16164ee291f5cb05254594 (diff)
downloademacs-f6195dfb584f77aa8d156cdbb21755c42bc5e98f.tar.gz
emacs-f6195dfb584f77aa8d156cdbb21755c42bc5e98f.zip
* emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
* make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
-rw-r--r--lib-src/ChangeLog4
-rw-r--r--lib-src/make-docfile.c4
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
4 files changed, 12 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index d16500a76cb..b72d928dc6c 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,7 @@
12009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
4
12009-10-15 Juanma Barranquero <lekktu@gmail.com> 52009-10-15 Juanma Barranquero <lekktu@gmail.com>
2 6
3 * .gitignore: Add echolisp.tmp. 7 * .gitignore: Add echolisp.tmp.
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index ad366bb2e06..3583f363f93 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -1007,7 +1007,9 @@ scan_lisp_file (filename, mode)
1007 } 1007 }
1008 } 1008 }
1009 1009
1010 else if (! strcmp (buffer, "custom-declare-variable")) 1010 else if (! strcmp (buffer, "custom-declare-variable")
1011 || ! strcmp (buffer, "defvaralias")
1012 )
1011 { 1013 {
1012 char c1 = 0, c2 = 0; 1014 char c1 = 0, c2 = 0;
1013 type = 'V'; 1015 type = 'V';
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 194fdfdd915..a5e762d0210 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12009-11-03 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
4
12009-11-04 Stefan Monnier <monnier@iro.umontreal.ca> 52009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2 6
3 * descr-text.el: Require help-mode rather than help-fns (bug#4861). 7 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 3f330703d51..e527d07029a 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -2077,7 +2077,7 @@ and will be removed soon. See (elisp)Backquote in the manual."))
2077 ;; defalias calls are output directly by byte-compile-file-form-defmumble; 2077 ;; defalias calls are output directly by byte-compile-file-form-defmumble;
2078 ;; it does not pay to first build the defalias in defmumble and then parse 2078 ;; it does not pay to first build the defalias in defmumble and then parse
2079 ;; it here. 2079 ;; it here.
2080 (if (and (memq (car-safe form) '(defun defmacro defvar defconst autoload 2080 (if (and (memq (car-safe form) '(defun defmacro defvar defvaralias defconst autoload
2081 custom-declare-variable)) 2081 custom-declare-variable))
2082 (stringp (nth 3 form))) 2082 (stringp (nth 3 form)))
2083 (byte-compile-output-docform nil nil '("\n(" 3 ")") form nil 2083 (byte-compile-output-docform nil nil '("\n(" 3 ")") form nil