unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* customize type spec not being followed?
@ 2017-12-24 11:46 Rusi
  2017-12-24 12:01 ` Philipp Stephani
       [not found] ` <mailman.6291.1514116912.27995.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Rusi @ 2017-12-24 11:46 UTC (permalink / raw)
  To: help-gnu-emacs

When I do C-h v: org-structure-template-alist

I see:
-----------------
org-structure-template-alist is a variable defined in ‘org.el’.
Its value is shown below.

<description>

Value: ((97 . "export ascii")
 (99 . "center")
 (67 . "comment")
 (101 . "example")
 (69 . "export")
 (104 . "export html")
 (108 . "export latex")
 (113 . "quote")
 (115 . "src")
 (118 . "verse"))
---------------------

Its definition pointed to from above is
----------------------
(defcustom org-structure-template-alist
  '((?a . "export ascii")
    (?c . "center")
    (?C . "comment")
    (?e . "example")
    (?E . "export")
    (?h . "export html")
    (?l . "export latex")
    (?q . "quote")
    (?s . "src")
    (?v . "verse"))
  "Structure completion elements.
This is an alist of characters and values.  When
`org-insert-structure-template' is called, an additional key is
read.  The key is first looked up in this alist, and the
corresponding structure is inserted, with \"#+BEGIN_\" and
\"#+END_\" added automatically."
  :group 'org-edit-structure
  :type '(repeat
	  (cons (character :tag "Key")
		(string :tag "Template")))
  :package-version '(Org . "9.2"))
--------------------------

So my question: When the type says character why does it show as integer?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-12-24 12:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-24 11:46 customize type spec not being followed? Rusi
2017-12-24 12:01 ` Philipp Stephani
     [not found] ` <mailman.6291.1514116912.27995.help-gnu-emacs@gnu.org>
2017-12-24 12:05   ` Rusi
2017-12-24 12:34     ` Philipp Stephani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).