aboutsummaryrefslogtreecommitdiffstats
path: root/src/doc.c
diff options
context:
space:
mode:
authorJim Blandy1992-01-13 21:48:08 +0000
committerJim Blandy1992-01-13 21:48:08 +0000
commit265a9e559da4ac72d154ecd638c51801b3e97847 (patch)
tree633e4dc50761c2cd5201a7874e23eee9e51aecea /src/doc.c
parentd427b66a664c0e1ffc818dfa5b87b45b4857d2ae (diff)
downloademacs-265a9e559da4ac72d154ecd638c51801b3e97847.tar.gz
emacs-265a9e559da4ac72d154ecd638c51801b3e97847.zip
*** empty log message ***
Diffstat (limited to 'src/doc.c')
-rw-r--r--src/doc.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/doc.c b/src/doc.c
index b5bdd6a0f1c..98585f89b2e 100644
--- a/src/doc.c
+++ b/src/doc.c
@@ -31,7 +31,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
31#define O_RDONLY 0 31#define O_RDONLY 0
32#endif 32#endif
33 33
34#undef NULL
35#include "lisp.h" 34#include "lisp.h"
36#include "buffer.h" 35#include "buffer.h"
37 36
@@ -348,7 +347,7 @@ thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int
348 int length; 347 int length;
349 struct gcpro gcpro1; 348 struct gcpro gcpro1;
350 349
351 if (NULL (str)) 350 if (NILP (str))
352 return Qnil; 351 return Qnil;
353 352
354 CHECK_STRING (str, 0); 353 CHECK_STRING (str, 0);
@@ -388,7 +387,7 @@ thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int
388 tem = Fintern (make_string (start, length), Qnil); 387 tem = Fintern (make_string (start, length), Qnil);
389 tem = Fwhere_is_internal (tem, keymap, Qnil, Qt, Qnil); 388 tem = Fwhere_is_internal (tem, keymap, Qnil, Qt, Qnil);
390 389
391 if (NULL (tem)) /* but not on any keys */ 390 if (NILP (tem)) /* but not on any keys */
392 { 391 {
393 new = (unsigned char *) xrealloc (buf, bsize += 4); 392 new = (unsigned char *) xrealloc (buf, bsize += 4);
394 bufp += new - buf; 393 bufp += new - buf;
@@ -429,10 +428,10 @@ thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int
429 in case it is a local variable. */ 428 in case it is a local variable. */
430 name = Fintern (make_string (start, length), Qnil); 429 name = Fintern (make_string (start, length), Qnil);
431 tem = Fboundp (name); 430 tem = Fboundp (name);
432 if (! NULL (tem)) 431 if (! NILP (tem))
433 { 432 {
434 tem = Fsymbol_value (name); 433 tem = Fsymbol_value (name);
435 if (! NULL (tem)) 434 if (! NILP (tem))
436 tem = get_keymap_1 (tem, 0); 435 tem = get_keymap_1 (tem, 0);
437 } 436 }
438 437
@@ -440,7 +439,7 @@ thus, \\=\\=\\=\\= puts \\=\\= into the output, and \\=\\=\\=\\[ puts \\=\\[ int
440 oldbuf = current_buffer; 439 oldbuf = current_buffer;
441 set_buffer_internal (XBUFFER (Vprin1_to_string_buffer)); 440 set_buffer_internal (XBUFFER (Vprin1_to_string_buffer));
442 441
443 if (NULL (tem)) 442 if (NILP (tem))
444 { 443 {
445 name = Fsymbol_name (name); 444 name = Fsymbol_name (name);
446 insert_string ("\nUses keymap \""); 445 insert_string ("\nUses keymap \"");