Mercurial > emacs
view .bzrignore @ 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 | b71665f4f9ba |
children | 9f1234368955 |
line wrap: on
line source
./_dir-locals.el ./bin ./BIN ./config.log ./config.status ./data ./etc/icons ./lock ./README.W32 ./site-lisp oo oo-spd *.dSYM *.elc *.exe autom4te.cache confdefs.h configure.lineno conftest* core DOC DOC-* makefile Makefile Makefile.c stamp_BLD subdirs.el TAGS TAGS-LISP info/* admin/unidata/unidata.txt leim/leim-list.el leim/quail/*.el leim/changed.misc leim/changed.tit lib-src/stamp-* lib-src/b2m lib-src/ctags lib-src/ctags.c lib-src/digest-doc lib-src/ebrowse lib-src/echolisp.tmp lib-src/emacsclient lib-src/etags lib-src/fakemail lib-src/getopt.h lib-src/hexl lib-src/make-docfile lib-src/movemail lib-src/profile lib-src/sorted-doc lib-src/test-distrib lib-src/update-game-score lisp/**/*-loaddefs.el lisp/**/loaddefs.el lisp/cus-load.el lisp/eshell/esh-groups.el lisp/finder-inf.el lisp/gnus/_dir-locals.el nextstep/Emacs.app nt/config.log src/_dbxinit src/_gdbinit src/bootstrap-emacs src/buildobj.h src/config.h src/deps src/emacs src/emacs-* src/epaths.h src/gdb.ini src/prefix-args* src/stamp-oldxmenu src/temacs test/indent/*.new +*