mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Improve the custom type of some user options.
* lisp/autoinsert.el (auto-insert-alist): * lisp/replace.el (query-replace-from-to-separator): * lisp/gnus/gnus-art.el (gnus-hidden-properties): * lisp/gnus/gnus-gravatar.el (gnus-gravatar-properties): * lisp/gnus/gnus-picon.el (gnus-picon-properties): * lisp/progmodes/prolog.el (prolog-keywords, prolog-types) (prolog-mode-specificators, prolog-determinism-specificators) (prolog-directives, prolog-program-name, prolog-program-switches) (prolog-consult-string, prolog-compile-string, prolog-eof-string) (prolog-prompt-regexp): Improve custom type.
This commit is contained in:
parent
9f60d7e9a2
commit
93f21530ad
6 changed files with 42 additions and 22 deletions
|
|
@ -305,7 +305,17 @@ ACTION may be a skeleton to insert (see `skeleton-insert'), an absolute
|
|||
file-name or one relative to `auto-insert-directory' or a function to call.
|
||||
ACTION may also be a vector containing several successive single actions as
|
||||
described above, e.g. [\"header.insert\" date-and-author-update]."
|
||||
:type 'sexp
|
||||
:type '(alist :key-type
|
||||
(choice (regexp :tag "Regexp matching file name")
|
||||
(symbol :tag "Major mode")
|
||||
(cons :tag "Condition and description"
|
||||
(choice :tag "Condition"
|
||||
(regexp :tag "Regexp matching file name")
|
||||
(symbol :tag "Major mode"))
|
||||
(string :tag "Description")))
|
||||
;; There's no custom equivalent of "repeat" for vectors.
|
||||
:value-type (choice file function
|
||||
(sexp :tag "Skeleton or vector")))
|
||||
:version "25.1"
|
||||
:group 'auto-insert)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue