Mercurial > emacs
view lib-src/leditcfns.c @ 64760:4f6b04b42ad4
(menu-bar-options-save): Replace `fringe-indicators'
with `indicate-empty-lines' and `indicate-buffer-boundaries'.
(menu-bar-showhide-fringe-menu): Add new item "Empty line indicators"
running new function `toggle-indicate-empty-lines'.
Rename "Customize" item to "Customize fringe".
Rename "Indicators" item to "Buffer boundaries" and change help echo.
(menu-bar-showhide-fringe-ind-menu): Change several help echos.
Add `menu-bar-showhide-fringe-ind-customize' as "Other (customize)".
Delete "Empty lines only" item.
(menu-bar-showhide-fringe-ind-customize): New function.
(menu-bar-showhide-fringe-ind-mixed)
(menu-bar-showhide-fringe-ind-box)
(menu-bar-showhide-fringe-ind-right)
(menu-bar-showhide-fringe-ind-left)
(menu-bar-showhide-fringe-ind-none): Use `indicate-buffer-boundaries'
instead of `fringe-indicators'.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Sat, 06 Aug 2005 21:51:38 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 |
line wrap: on
line source
#include <sgtty.h> #include <signal.h> #define STRLEN 100 static char str[STRLEN+1] = "%?emacs"; /* extra char for the null */ switch_to_proc(){ char *ptr = str; while (*ptr) ioctl(0, TIOCSTI, ptr++); ioctl(0, TIOCSTI, "\n"); kill(getpid(), SIGTSTP); } set_proc_str(ptr) char *ptr; { if (strlen(ptr) <= STRLEN) strcpy(str, ptr); else printf("string too long for set-proc-str: %s\n", ptr); } /* arch-tag: eb7ae804-0d6e-4077-ab42-7173821410c3 (do not change this comment) */