summaryrefslogtreecommitdiff
path: root/lisp/progmodes/js.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2018-12-17 10:19:23 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2018-12-17 10:26:15 -0800
commitef144113f3473f39d3df3e96e780c832e0d5420e (patch)
tree4dcdfeb3a0d55a6f891983f9e59b9f5d1b3f5378 /lisp/progmodes/js.el
parenta5995a326d1dad9bccf1ad7eb96e4e8146f6dcbe (diff)
downloademacs-ef144113f3473f39d3df3e96e780c832e0d5420e.tar.gz
Some more flatten-tree aliases
* lisp/allout.el (allout-flatten): * lisp/progmodes/hideif.el (hif-flatten): Now an obsolete alias for flatten-tree. All callers changed. * lisp/org/org-protocol.el (org-protocol-flatten): Make it an alias for flatten-tree if available. * lisp/progmodes/js.el (js--flatten-list): Remove alias. We shouldn’t need obsolete function aliases for private functions.
Diffstat (limited to 'lisp/progmodes/js.el')
-rw-r--r--lisp/progmodes/js.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index ddba7636b4a..11ccb5fc527 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -623,8 +623,6 @@ then the \".\"s will be lined up:
"Parse state at `js--last-parse-pos'.")
(make-variable-buffer-local 'js--state-at-last-parse-pos)
-(define-obsolete-function-alias 'js--flatten-list #'flatten-tree "27.1")
-
(defun js--maybe-join (prefix separator suffix &rest list)
"Helper function for `js--update-quick-match-re'.
If LIST contains any element that is not nil, return its non-nil