Function: conf-desktop-mode

conf-desktop-mode is an autoloaded, interactive and byte-compiled function defined in conf-mode.el.gz.

Signature

(conf-desktop-mode)

Documentation

Conf Mode started for freedesktop.org Desktop files.

Comments start with # and "assignments" are with =. For details see conf-mode.

# Conf mode font-locks this correctly with M-x conf-desktop-mode (conf-desktop-mode)
[Desktop Entry]
Name=GNU Image Manipulation Program
Name[oc]=Editor d'imatge GIMP
Exec=gimp-2.8 %U
Terminal=false

In addition to any hooks its parent mode conf-unix-mode might have run, this mode runs the hook conf-desktop-mode-hook, as the final or penultimate step during initialization.

Probably introduced at or before Emacs version 26.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/conf-mode.el.gz
;;;###autoload
(define-derived-mode conf-desktop-mode conf-unix-mode "Conf[Desktop]"
  "Conf Mode started for freedesktop.org Desktop files.
Comments start with `#' and \"assignments\" are with `='.
For details see `conf-mode'.

# Conf mode font-locks this correctly with \\[conf-desktop-mode]
	[Desktop Entry]
	Name=GNU Image Manipulation Program
	Name[oc]=Editor d'imatge GIMP
	Exec=gimp-2.8 %U
	Terminal=false"
  (conf-mode-initialize "#" 'conf-desktop-font-lock-keywords)
  (conf-quote-normal nil))