Mercurial > emacs
view etc/nxml/0FE50-0FE6F.el @ 111851:dd83cbcddf69
Adjust parameter names and doc strings to resolve confusion over
whether "bookmark" meant a bookmark name or a bookmark record.
Along the way, shorten one function's name for similar reasons.
(Issue #7548)
* lisp/bookmark.el
(bookmark-name-from-record):
New name for `bookmark-name-from-full-record'. All callers changed.
(bookmark-get-bookmark, bookmark-get-bookmark-record,
bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set,
bookmark-get-annotation, bookmark-set-annotation,
bookmark-get-filename, bookmark-set-filename,
bookmark-get-position, bookmark-set-position,
bookmark-get-front-context-string, bookmark-set-front-context-string,
bookmark-get-rear-context-string, bookmark-set-rear-context-string,
bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via,
bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
Rename `bookmark' parameter to `bookmark-name-or-record', to
clearly show its role, and shorten or adjust doc strings accordingly.
(bookmark-set-name):
Same, and pass the parameter directly to `bookmark-get-bookmark'
instead of redundantly doing the callee's work.
(bookmark-default-annotation-text, bookmark-send-edited-annotation,
bookmark-relocate, bookmark-insert-location, bookmark-insert,
bookmark-delete):
Rename `bookmark' parameter to `bookmark-name', and in some cases
shorten doc string accordingly.
(bookmark-rename):
Change `old' and `new' parameters to `old-name'
and `new-name', and adjust an internal variable to avoid confusion.
(bookmark-jump, bookmark-jump-noselect):
Clarify `bookmark' parameter in doc string.
author | Karl Fogel <kfogel@red-bean.com> |
---|---|
date | Wed, 08 Dec 2010 03:09:27 -0500 |
parents | 503a17b7bb43 |
children | ef719132ddfa |
line wrap: on
line source
(nxml-define-char-name-set 'small-form-variants '(("SMALL COMMA" #xFE50) ("SMALL IDEOGRAPHIC COMMA" #xFE51) ("SMALL FULL STOP" #xFE52) ("SMALL SEMICOLON" #xFE54) ("SMALL COLON" #xFE55) ("SMALL QUESTION MARK" #xFE56) ("SMALL EXCLAMATION MARK" #xFE57) ("SMALL EM DASH" #xFE58) ("SMALL LEFT PARENTHESIS" #xFE59) ("SMALL RIGHT PARENTHESIS" #xFE5A) ("SMALL LEFT CURLY BRACKET" #xFE5B) ("SMALL RIGHT CURLY BRACKET" #xFE5C) ("SMALL LEFT TORTOISE SHELL BRACKET" #xFE5D) ("SMALL RIGHT TORTOISE SHELL BRACKET" #xFE5E) ("SMALL NUMBER SIGN" #xFE5F) ("SMALL AMPERSAND" #xFE60) ("SMALL ASTERISK" #xFE61) ("SMALL PLUS SIGN" #xFE62) ("SMALL HYPHEN-MINUS" #xFE63) ("SMALL LESS-THAN SIGN" #xFE64) ("SMALL GREATER-THAN SIGN" #xFE65) ("SMALL EQUALS SIGN" #xFE66) ("SMALL REVERSE SOLIDUS" #xFE68) ("SMALL DOLLAR SIGN" #xFE69) ("SMALL PERCENT SIGN" #xFE6A) ("SMALL COMMERCIAL AT" #xFE6B) )) ;; arch-tag: 4facf8e4-cea2-4194-bc17-f0959c358f7f