summaryrefslogtreecommitdiff
path: root/lisp/faces.el
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2021-03-24 09:22:40 +0100
committerLars Ingebrigtsen <larsi@gnus.org>2021-03-24 09:22:44 +0100
commita4ececf004e5442fc245ccff910000fe407f7212 (patch)
tree2e7a3a7e9c290db7382dd5c6093a15db74f47310 /lisp/faces.el
parentc0d24d5316626a3d5e76f99a0f418463cb355459 (diff)
downloademacs-a4ececf004e5442fc245ccff910000fe407f7212.tar.gz
emacs-a4ececf004e5442fc245ccff910000fe407f7212.tar.bz2
emacs-a4ececf004e5442fc245ccff910000fe407f7212.zip
Move string-trim functions to subr.el
* doc/lispref/strings.texi (Creating Strings): Document them. * lisp/faces.el: Don't require subr-x, because that leads to build errors. * lisp/subr.el (string-trim, string-trim-right) (string-trim-left): Move here from subr-x.el. * lisp/emacs-lisp/shortdoc.el (string): Adjust.
Diffstat (limited to 'lisp/faces.el')
-rw-r--r--lisp/faces.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 10675563ea2..3ea4c940a32 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -25,8 +25,6 @@
;;; Code:
-(eval-when-compile (require 'subr-x))
-
(defcustom term-file-prefix (purecopy "term/")
"If non-nil, Emacs startup performs terminal-specific initialization.
It does this by: (load (concat term-file-prefix (getenv \"TERM\")))