diff options
| author | Richard M. Stallman | 1994-06-01 20:37:42 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-06-01 20:37:42 +0000 |
| commit | e9e00ff2eab77acd4d4546c504ba164e87ffa63a (patch) | |
| tree | 6424fc52b44f008200c0877e91c051111bf402c9 | |
| parent | e1ab4959f3a9e674c15341e9720d9c63f0bcd3f7 (diff) | |
| download | emacs-e9e00ff2eab77acd4d4546c504ba164e87ffa63a.tar.gz emacs-e9e00ff2eab77acd4d4546c504ba164e87ffa63a.zip | |
(defvar_bool, defvar_int, defvar_lisp, defvar_lisp_nopro):
Delete third arg DOC.
| -rw-r--r-- | src/lread.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/lread.c b/src/lread.c index dc82b66dce8..17fcc407a0e 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -1752,17 +1752,14 @@ defalias (sname, string) | |||
| 1752 | } | 1752 | } |
| 1753 | #endif /* NOTDEF */ | 1753 | #endif /* NOTDEF */ |
| 1754 | 1754 | ||
| 1755 | /* New replacement for DefIntVar; it ignores the doc string argument | ||
| 1756 | on the assumption that make-docfile will handle that. */ | ||
| 1757 | /* Define an "integer variable"; a symbol whose value is forwarded | 1755 | /* Define an "integer variable"; a symbol whose value is forwarded |
| 1758 | to a C variable of type int. Sample call: */ | 1756 | to a C variable of type int. Sample call: */ |
| 1759 | /* DEFVARINT ("indent-tabs-mode", &indent_tabs_mode, "Documentation"); */ | 1757 | /* DEFVARINT ("indent-tabs-mode", &indent_tabs_mode, "Documentation"); */ |
| 1760 | 1758 | ||
| 1761 | void | 1759 | void |
| 1762 | defvar_int (namestring, address, doc) | 1760 | defvar_int (namestring, address) |
| 1763 | char *namestring; | 1761 | char *namestring; |
| 1764 | int *address; | 1762 | int *address; |
| 1765 | char *doc; | ||
| 1766 | { | 1763 | { |
| 1767 | Lisp_Object sym; | 1764 | Lisp_Object sym; |
| 1768 | sym = intern (namestring); | 1765 | sym = intern (namestring); |
| @@ -1773,10 +1770,9 @@ defvar_int (namestring, address, doc) | |||
| 1773 | NIL if address contains 0 */ | 1770 | NIL if address contains 0 */ |
| 1774 | 1771 | ||
| 1775 | void | 1772 | void |
| 1776 | defvar_bool (namestring, address, doc) | 1773 | defvar_bool (namestring, address) |
| 1777 | char *namestring; | 1774 | char *namestring; |
| 1778 | int *address; | 1775 | int *address; |
| 1779 | char *doc; | ||
| 1780 | { | 1776 | { |
| 1781 | Lisp_Object sym; | 1777 | Lisp_Object sym; |
| 1782 | sym = intern (namestring); | 1778 | sym = intern (namestring); |
| @@ -1786,10 +1782,9 @@ defvar_bool (namestring, address, doc) | |||
| 1786 | /* Similar but define a variable whose value is the Lisp Object stored at address. */ | 1782 | /* Similar but define a variable whose value is the Lisp Object stored at address. */ |
| 1787 | 1783 | ||
| 1788 | void | 1784 | void |
| 1789 | defvar_lisp (namestring, address, doc) | 1785 | defvar_lisp (namestring, address) |
| 1790 | char *namestring; | 1786 | char *namestring; |
| 1791 | Lisp_Object *address; | 1787 | Lisp_Object *address; |
| 1792 | char *doc; | ||
| 1793 | { | 1788 | { |
| 1794 | Lisp_Object sym; | 1789 | Lisp_Object sym; |
| 1795 | sym = intern (namestring); | 1790 | sym = intern (namestring); |
| @@ -1802,10 +1797,9 @@ defvar_lisp (namestring, address, doc) | |||
| 1802 | since marking the same slot twice can cause trouble with strings. */ | 1797 | since marking the same slot twice can cause trouble with strings. */ |
| 1803 | 1798 | ||
| 1804 | void | 1799 | void |
| 1805 | defvar_lisp_nopro (namestring, address, doc) | 1800 | defvar_lisp_nopro (namestring, address) |
| 1806 | char *namestring; | 1801 | char *namestring; |
| 1807 | Lisp_Object *address; | 1802 | Lisp_Object *address; |
| 1808 | char *doc; | ||
| 1809 | { | 1803 | { |
| 1810 | Lisp_Object sym; | 1804 | Lisp_Object sym; |
| 1811 | sym = intern (namestring); | 1805 | sym = intern (namestring); |