+++
** `C-x r +' is now overloaded to invoke `append-to-register.
+
+++
-** New option `separator-register'. Separator register stores
-separator text for use with M-x append-to-register and M-x
-prepend-to-register. See manual for details.
+** New option `register-separator' specifies the register containing
+the text to put between collected texts for use with M-x
+append-to-register and M-x prepend-to-register.
** Search changes
+2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
+
+ * register.el (register-separator): Rename from
+ separator-register. All uses changed. Doc fix.
+ (register): Fix version.
+
2012-09-09 Chong Yidong <cyd@gnu.org>
* replace.el (query-replace-map): Bind four new symbols for
(defgroup register nil
"Register commands."
:group 'convenience
- :version "24.2.50")
+ :version "24.3")
-(defcustom separator-register nil
- "Use contents of this register to separate collected text.
+(defcustom register-separator nil
+ "Register containing the text to put between collected texts, or nil if none.
When collecting text with
`append-to-register' (resp. `prepend-to-register') contents of
(interactive "cAppend to register: \nr\nP")
(let ((reg (get-register register))
(text (filter-buffer-substring start end))
- (separator (and separator-register (get-register separator-register))))
+ (separator (and register-separator (get-register register-separator))))
(set-register
register (cond ((not reg) text)
((stringp reg) (concat reg separator text))
(interactive "cPrepend to register: \nr\nP")
(let ((reg (get-register register))
(text (filter-buffer-substring start end))
- (separator (and separator-register (get-register separator-register))))
+ (separator (and register-separator (get-register register-separator))))
(set-register
register (cond ((not reg) text)
((stringp reg) (concat text separator reg))