about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Feng <chris.w.feng@gmail.com>2020-05-10T00·00+0000
committerChris Feng <chris.w.feng@gmail.com>2020-05-10T00·00+0000
commit624a30212cca1af99fda1417fd81c31eeba4cca8 (patch)
tree8b7dd0a1df7ed07af4297b52f1ebda7726aba9eb
parent7f4b9cdb0f4122f561d26dcb39d405deeadf931e (diff)
Clarify the use of `exwm-config-default'
* exwm-config.el (exwm-config-example): Renamed from
`exwm-config-default' to make it clear it's just an example.
-rw-r--r--exwm-config.el5
-rw-r--r--exwm.el2
2 files changed, 5 insertions, 2 deletions
diff --git a/exwm-config.el b/exwm-config.el
index b47a9ba8323b..bb8258a7149f 100644
--- a/exwm-config.el
+++ b/exwm-config.el
@@ -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)
diff --git a/exwm.el b/exwm.el
index e94b283a631c..98736ac91e5a 100644
--- a/exwm.el
+++ b/exwm.el
@@ -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