summaryrefslogtreecommitdiff
path: root/lisp/msb.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-01-04 23:45:49 +0000
committerKarl Heuer <kwzh@gnu.org>1996-01-04 23:45:49 +0000
commit8b82225f5b6801f1e193a88d01684aed043e2d9f (patch)
tree30853f57f39580b1bc5ea8b8adabc049d7c146bb /lisp/msb.el
parent3a6c42dd7a074938b24d84fc866bb1f2d5b6e829 (diff)
downloademacs-8b82225f5b6801f1e193a88d01684aed043e2d9f.tar.gz
(msb-max-file-menu-items, msb-menu-cond): Doc fix.
Diffstat (limited to 'lisp/msb.el')
-rw-r--r--lisp/msb.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/msb.el b/lisp/msb.el
index 88c2a6408b6..ae9b7381e98 100644
--- a/lisp/msb.el
+++ b/lisp/msb.el
@@ -222,7 +222,7 @@ Nil means no limit.")
"*The maximum number of items from different directories.
When the menu is of type `file by directory', this is the maximum
-number of buffers that are clumped togehter from different
+number of buffers that are clumped together from different
directories.
Set this to 1 if you want one menu per directory instead of clumping
@@ -278,13 +278,13 @@ Set this to nil or t if you don't want any sorting (faster).")
the groups in msb-menu-cond.")
(defvar msb-menu-cond msb--very-many-menus
- "*List of criterias for splitting the mouse buffer menu.
+ "*List of criteria for splitting the mouse buffer menu.
The elements in the list should be of this type:
(CONDITION MENU-SORT-KEY MENU-TITLE ITEM-HANDLING-FN ITEM-SORT-FN).
When making the split, the buffers are tested one by one against the
CONDITION, just like a lisp cond: When hitting a true condition, the
-other criterias are *not* tested and the buffer name will appear in
+other criteria are *not* tested and the buffer name will appear in
the menu with the menu-title corresponding to the true condition.
If the condition returns the symbol `multi', then the buffer will be
@@ -439,7 +439,7 @@ If the argument is left out or nil, then the current buffer is considered."
(and (> (length (buffer-name buffer)) 0)
(eq ?\ (aref (buffer-name buffer) 0))))
-;; Strip one hierarcy level from the end of PATH.
+;; Strip one hierarchy level from the end of PATH.
(defun msb--strip-path (path)
(save-match-data
(if (string-match "\\(.+\\)/[^/]+$" path)
@@ -840,7 +840,7 @@ variable `msb-menu-cond'."
(setq posX (- posX (funcall msb-horizontal-shift-function))
position (list (list posX posY) posWind))))
;; This `sit-for' magically makes the menu stay up if the mouse
- ;; button is released withing 0.1 second.
+ ;; button is released within 0.1 second.
(sit-for 0 100)
;; Popup the menu
(setq choice (x-popup-menu position msb--last-buffer-menu))