Function: set-next-selection-coding-system

set-next-selection-coding-system is an interactive and byte-compiled function defined in mule.el.gz.

Signature

(set-next-selection-coding-system CODING-SYSTEM)

Documentation

Use CODING-SYSTEM for next communication with other window system clients.

This setting is effective for the next communication only.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/international/mule.el.gz
(defun set-next-selection-coding-system (coding-system)
  "Use CODING-SYSTEM for next communication with other window system clients.
This setting is effective for the next communication only."
  (interactive
   (list (read-coding-system
	  (format-prompt "Coding system for the next selection"
                         last-next-selection-coding-system)
	  last-next-selection-coding-system)))
  (if coding-system
      (setq last-next-selection-coding-system coding-system)
    (setq coding-system last-next-selection-coding-system))
  (check-coding-system coding-system)

  (setq next-selection-coding-system coding-system))