mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
(org-set-tags): Prevent slipping of point during completion.
This commit is contained in:
parent
77c0d5951a
commit
b08b89d027
@ -5,7 +5,7 @@
|
||||
;; Author: Carsten Dominik <dominik at science dot uva dot nl>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Homepage: http://www.astro.uva.nl/~dominik/Tools/org/
|
||||
;; Version: 4.67b
|
||||
;; Version: 4.67c
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
;;
|
||||
@ -83,7 +83,7 @@
|
||||
|
||||
;;; Version
|
||||
|
||||
(defvar org-version "4.67b"
|
||||
(defvar org-version "4.67c"
|
||||
"The version number of the file org.el.")
|
||||
(defun org-version ()
|
||||
(interactive)
|
||||
@ -11627,8 +11627,9 @@ With prefix ARG, realign all tags in headings in the current buffer."
|
||||
(org-fast-tag-selection current-tags inherited-tags table)
|
||||
(let ((org-add-colon-after-tag-completion t))
|
||||
(org-trim
|
||||
(save-excursion
|
||||
(completing-read "Tags: " 'org-tags-completion-function
|
||||
nil nil current 'org-tags-history)))))
|
||||
nil nil current 'org-tags-history))))))
|
||||
(while (string-match "[-+&]+" tags)
|
||||
;; No boolean logic, just a list
|
||||
(setq tags (replace-match ":" t t tags))))
|
||||
|
Loading…
Reference in New Issue
Block a user