* [w3m-dev 04321] Re: w3m's bugs from bugs.debian.org
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329863#8 * rc.c: Introduce option pseudo_inlines. * fm.h: add global variable pseudoInlines. * file.c (process_img): check q.
This commit is contained in:
5
rc.c
5
rc.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: rc.c,v 1.110 2010/07/19 12:25:53 htrb Exp $ */
|
||||
/* $Id: rc.c,v 1.111 2010/07/19 12:53:39 htrb Exp $ */
|
||||
/*
|
||||
* Initialization file etc.
|
||||
*/
|
||||
@@ -75,6 +75,7 @@ static int OptionEncode = FALSE;
|
||||
#define CMT_DECODE_URL N_("Display decoded URL")
|
||||
#define CMT_DISPLINEINFO N_("Display current line number")
|
||||
#define CMT_DISP_IMAGE N_("Display inline images")
|
||||
#define CMT_PSEUDO_INLINES N_("Display pseudo-ALTs for inline images with no ALT or TITLE string")
|
||||
#ifdef USE_IMAGE
|
||||
#define CMT_AUTO_IMAGE N_("Load inline images automatically")
|
||||
#define CMT_MAX_LOAD_IMAGE N_("Maximum processes for parallel image loading")
|
||||
@@ -385,6 +386,8 @@ struct param_ptr params1[] = {
|
||||
/* XXX: emacs-w3m force to off display_image even if image options off */
|
||||
{"display_image", P_INT, PI_ONOFF, (void *)&displayImage, CMT_DISP_IMAGE,
|
||||
NULL},
|
||||
{"pseudo_inlines", P_INT, PI_ONOFF, (void *)&pseudoInlines,
|
||||
CMT_PSEUDO_INLINES, NULL},
|
||||
#ifdef USE_IMAGE
|
||||
{"auto_image", P_INT, PI_ONOFF, (void *)&autoImage, CMT_AUTO_IMAGE, NULL},
|
||||
{"max_load_image", P_INT, PI_TEXT, (void *)&maxLoadImage,
|
||||
|
Reference in New Issue
Block a user