mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-14 09:39:42 +00:00
(reftex-erase-all-selection-and-index-buffers)
(reftex-access-parse-file): Use mapc rather than mapcar.
This commit is contained in:
parent
f8fd7ed3a2
commit
4b33469eb5
@ -859,12 +859,12 @@ This enforces rescanning the buffer on next use."
|
||||
|
||||
(defun reftex-erase-all-selection-and-index-buffers ()
|
||||
;; Remove all selection buffers associated with current document.
|
||||
(mapcar
|
||||
(mapc
|
||||
(lambda (type)
|
||||
(reftex-erase-buffer (reftex-make-selection-buffer-name type)))
|
||||
reftex-typekey-list)
|
||||
;; Kill all index buffers
|
||||
(mapcar
|
||||
(mapc
|
||||
(lambda (tag)
|
||||
(reftex-kill-buffer (reftex-make-index-buffer-name tag)))
|
||||
(cdr (assoc 'index-tags (symbol-value reftex-docstruct-symbol)))))
|
||||
@ -1339,7 +1339,7 @@ Valid actions are: readable, restore, read, kill, write."
|
||||
(user-login-name) (user-full-name)))
|
||||
(insert "(set reftex-docstruct-symbol '(\n\n")
|
||||
(let ((standard-output (current-buffer)))
|
||||
(mapcar
|
||||
(mapc
|
||||
(lambda (x)
|
||||
(cond ((eq (car x) 'toc)
|
||||
;; A toc entry. Do not save the marker.
|
||||
|
Loading…
Reference in New Issue
Block a user