Global name didn't match config name.
WHERE char *DsnNotify; ///< Config: Request notification for message delivery or delay
WHERE char *DsnReturn; ///< Config: What to send as a notification of message delivery or delay
WHERE char *Editor; ///< Config: External command to use as an email editor
+WHERE char *ExternalSearchCommand; ///< Config: External search command
WHERE char *Hostname; ///< Config: Fully-qualified domain name of this machine
WHERE char *IndexFormat; ///< Config: printf-like format string for the index menu (emails)
WHERE char *PrintCommand; ///< Config: External command to print a message
WHERE char *NewMailCommand; ///< Config: External command to run when new mail arrives
WHERE char *Realname; ///< Config: Real name of the user
-WHERE char *SearchCommand; ///< Config: External search command
WHERE char *Shell; ///< Config: External command to run subshells in
WHERE char *SimpleSearch; ///< Config: Pattern to search for when search doesn't contain ~'s
#ifdef USE_SMTP
** .pp
** Escape character to use for functions in the built-in editor.
*/
- { "external_search_command", DT_COMMAND, R_NONE, &SearchCommand, 0 },
+ { "external_search_command", DT_COMMAND, R_NONE, &ExternalSearchCommand, 0 },
/*
** .pp
** If set, contains the name of the external program used by "~I" patterns.
struct Buffer tok_buf;
FILE *fp = NULL;
- if (!SearchCommand)
+ if (!ExternalSearchCommand)
{
mutt_buffer_printf(err, "%s", _("No search command defined"));
return false;
}
mutt_buffer_init(&cmd_buf);
- mutt_buffer_addstr(&cmd_buf, SearchCommand);
+ mutt_buffer_addstr(&cmd_buf, ExternalSearchCommand);
mutt_buffer_addch(&cmd_buf, ' ');
if (!Context || !Context->mailbox)
{