Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e70ee681
Commit
e70ee681
authored
Jan 28, 2012
by
Roland Winkler
Browse files
lisp/textmodes/bibtex.el: minor doc fix
parent
ace88aa2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/textmodes/bibtex.el
lisp/textmodes/bibtex.el
+5
-1
No files found.
lisp/ChangeLog
View file @
e70ee681
2012-01-28 Roland Winkler <winkler@gnu.org>
* textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
2012-01-28 Roland Winkler <winkler@gnu.org>
* textmodes/bibtex.el (bibtex-entry-alist): New function.
...
...
lisp/textmodes/bibtex.el
View file @
e70ee681
...
...
@@ -2191,6 +2191,10 @@ Optional arg COMMA is as in `bibtex-enclosing-field'."
(let ((fun (lambda (kryp kr) ; adapted from `current-kill'
(car (set kryp (nthcdr (mod (- n (length (eval kryp)))
(length kr)) kr))))))
;; We put the mark at the beginning of the inserted field or entry
;; and point at its end - a behavior similar to what `yank' does.
;; The mark is then used by `bibtex-yank-pop', which needs to know
;; what we have inserted.
(if (eq bibtex-last-kill-command 'field)
(progn
;; insert past the current field
...
...
@@ -2219,7 +2223,7 @@ Optional arg COMMA is as in `bibtex-enclosing-field'."
(aset vec idx (cons newelt (aref vec idx))))
(defsubst bibtex-vec-incr (vec idx)
"
Add NEWELT to the l
is
t
stored in VEC at index IDX."
"
Increment by 1 the counter which
is stored in VEC at index IDX."
(aset vec idx (1+ (aref vec idx))))
(defun bibtex-format-entry ()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment