Skip to content

Commit

Permalink
Clarify the use of `exwm-config-default'
Browse files Browse the repository at this point in the history
* exwm-config.el (exwm-config-example): Renamed from
`exwm-config-default' to make it clear it's just an example.
  • Loading branch information
ch11ng committed May 10, 2020
1 parent 7f4b9cd commit 624a302
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion exwm-config.el
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
(require 'exwm)
(require 'ido)

(defun exwm-config-default ()
(define-obsolete-function-alias 'exwm-config-default
#'exwm-config-example "27.1")

(defun exwm-config-example ()
"Default configuration of EXWM."
;; Set the initial workspace number.
(unless (get 'exwm-workspace-number 'saved-value)
Expand Down
2 changes: 1 addition & 1 deletion exwm.el
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
;;
;; (require 'exwm)
;; (require 'exwm-config)
;; (exwm-config-default)
;; (exwm-config-example)
;;
;; 3. Link or copy the file 'xinitrc' to '~/.xinitrc'.
;; 4. Launch EXWM in a console (e.g. tty1) with
Expand Down

0 comments on commit 624a302

Please sign in to comment.