Commit 0f7b074f authored by Chong Yidong's avatar Chong Yidong
Browse files

* lisp/cus-start.el: Make cursor-type customizable.

* src/buffer.c (cursor_type): Untabify docstring.

Fixes: debbugs:11633
parent 3737fee7
2012-11-03 Chong Yidong <cyd@gnu.org>
* cus-start.el: Make cursor-type customizable (Bug#11633).
2012-11-02 Glenn Morris <rgm@gnu.org>
 
* filecache.el: No need to load find-lisp when compiling.
......
......@@ -51,6 +51,19 @@
(gc-cons-percentage alloc float)
(garbage-collection-messages alloc boolean)
;; buffer.c
(cursor-type
display
(choice
(const :tag "Frame default" t)
(const :tag "Filled box" box)
(const :tag "Hollow cursor" hollow)
(const :tag "Vertical bar" bar)
(cons :tag "Vertical bar with specified width"
(const bar) integer)
(const :tag "Horizontal bar" hbar)
(cons :tag "Horizontal bar with specified width"
(const hbar) integer)
(const :tag "None "nil)))
(mode-line-format mode-line sexp) ;Hard to do right.
(major-mode internal function)
(case-fold-search matching boolean)
......
2012-11-03 Chong Yidong <cyd@gnu.org>
* buffer.c (cursor_type): Untabify docstring.
2012-11-03 Dmitry Antipov <dmantipov@yandex.ru>
 
* frame.h (struct frame): Drop can_have_scroll_bars member
......
......@@ -6210,15 +6210,15 @@ is a member of the list. */);
doc: /* Cursor to use when this buffer is in the selected window.
Values are interpreted as follows:
t use the cursor specified for the frame
nil don't display a cursor
box display a filled box cursor
hollow display a hollow box cursor
bar display a vertical bar cursor with default width
(bar . WIDTH) display a vertical bar cursor with width WIDTH
hbar display a horizontal bar cursor with default height
t use the cursor specified for the frame
nil don't display a cursor
box display a filled box cursor
hollow display a hollow box cursor
bar display a vertical bar cursor with default width
(bar . WIDTH) display a vertical bar cursor with width WIDTH
hbar display a horizontal bar cursor with default height
(hbar . HEIGHT) display a horizontal bar cursor with height HEIGHT
ANYTHING ELSE display a hollow box cursor
ANYTHING ELSE display a hollow box cursor
When the buffer is displayed in a non-selected window, the
cursor's appearance is instead controlled by the variable
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment