aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-11-23 23:32:40 -0800
committerGlenn Morris2011-11-23 23:32:40 -0800
commit420b63ad29ddb217afc4a21b29f15c93df11d7d4 (patch)
tree5e7462bb2955cd6883f5c12b26f1b53c0e131c62
parentcb825e5d7b3f73eb393ba98ac25ed51597de6528 (diff)
downloademacs-420b63ad29ddb217afc4a21b29f15c93df11d7d4.tar.gz
emacs-420b63ad29ddb217afc4a21b29f15c93df11d7d4.zip
* lib-src/make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
* lisp/paths.el (rmail-file-name): Format doc-string for make-docfile.
-rw-r--r--lib-src/ChangeLog4
-rw-r--r--lib-src/make-docfile.c4
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/paths.el8
4 files changed, 11 insertions, 7 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 983754eb1c3..5ff9b5bb6bc 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,7 @@
12011-11-24 Glenn Morris <rgm@gnu.org>
2
3 * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
4
12011-11-14 Dan Nicolaescu <dann@ics.uci.edu> 52011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
2 6
3 * Makefile.in (all): Make sure "all" is the first target. 7 * Makefile.in (all): Make sure "all" is the first target.
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index ba54202954b..1ec365f3446 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -1149,8 +1149,10 @@ scan_lisp_file (const char *filename, const char *mode)
1149 } 1149 }
1150 } 1150 }
1151 1151
1152 /* defcustom can only occur in uncompiled Lisp files. */
1152 else if (! strcmp (buffer, "defvar") 1153 else if (! strcmp (buffer, "defvar")
1153 || ! strcmp (buffer, "defconst")) 1154 || ! strcmp (buffer, "defconst")
1155 || ! strcmp (buffer, "defcustom"))
1154 { 1156 {
1155 char c1 = 0, c2 = 0; 1157 char c1 = 0, c2 = 0;
1156 type = 'V'; 1158 type = 'V';
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6bfdf627e7e..ef5fdc60838 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12011-11-24 Glenn Morris <rgm@gnu.org> 12011-11-24 Glenn Morris <rgm@gnu.org>
2 2
3 * paths.el (rmail-file-name): Format doc-string for make-docfile.
4
3 * version.el (emacs-build-system): Give it a doc-string. 5 * version.el (emacs-build-system): Give it a doc-string.
4 6
52011-11-24 Juri Linkov <juri@jurta.org> 72011-11-24 Juri Linkov <juri@jurta.org>
diff --git a/lisp/paths.el b/lisp/paths.el
index c608fd98993..161caf9cb8c 100644
--- a/lisp/paths.el
+++ b/lisp/paths.el
@@ -132,12 +132,8 @@ should be set to `(system-name)'.")
132*The name of your organization, as a string. 132*The name of your organization, as a string.
133The `ORGANIZATION' environment variable is used instead if defined.") 133The `ORGANIZATION' environment variable is used instead if defined.")
134 134
135;; This is a defcustom, which make-docfile does not recognize in 135(defcustom rmail-file-name (purecopy "~/RMAIL") "\
136;; uncompiled Lisp code. If we use the "\ method of writing the doc, 136Name of user's primary mail file."
137;; it does not get a doc string. Somehow if we write it in the "wrong"
138;; (ie normal) way (as below), it does... See also remote-shell-program.
139(defcustom rmail-file-name (purecopy "~/RMAIL")
140 "Name of user's primary mail file."
141 :type 'string 137 :type 'string
142 :group 'rmail 138 :group 'rmail
143 :version "21.1") 139 :version "21.1")