mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
lisp/w32-common-fns.el (x-selection-owner-p): Get documentation from DOC.
Add empty docstring for the benefit of doc.c; change parameter profile to match the X function.
This commit is contained in:
parent
0c0ec04163
commit
aac06179d8
2 changed files with 9 additions and 3 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2014-03-22 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
|
||||
benefit of doc.c; change parameter profile to match the X function.
|
||||
|
||||
2014-03-21 Michael Albinus <michael.albinus@gmx.de>
|
||||
|
||||
* net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
|
||||
|
|
|
|||
|
|
@ -84,9 +84,10 @@ ignored on MS-Windows and MS-DOS."
|
|||
(get 'x-selections (or type 'PRIMARY)))
|
||||
|
||||
;; x-selection-owner-p is used in simple.el
|
||||
(defun x-selection-owner-p (&optional type)
|
||||
(and (memq type '(nil PRIMARY SECONDARY))
|
||||
(get 'x-selections (or type 'PRIMARY))))
|
||||
(defun x-selection-owner-p (&optional selection _terminal)
|
||||
"" ; placeholder for doc.c
|
||||
(and (memq selection '(nil PRIMARY SECONDARY))
|
||||
(get 'x-selections (or selection 'PRIMARY))))
|
||||
|
||||
;; The "Windows" keys on newer keyboards bring up the Start menu
|
||||
;; whether you want it or not - make Emacs ignore these keystrokes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue