comparison lisp/bs.el @ 27576:6097d621dac9

(bs): Add :version to defgroup.
author Dave Love <fx@gnu.org>
date Wed, 02 Feb 2000 14:03:26 +0000
parents 62cd5f1749cc
children 35d2f8b86ee9
comparison
equal deleted inserted replaced
27575:2344fab04513 27576:6097d621dac9
134 ;; Globals for customization 134 ;; Globals for customization
135 ;; ---------------------------------------------------------------------- 135 ;; ----------------------------------------------------------------------
136 136
137 (defgroup bs nil 137 (defgroup bs nil
138 "Buffer Selection: Maintaining buffers by buffer menu." 138 "Buffer Selection: Maintaining buffers by buffer menu."
139 :version "21.1"
139 :group 'convenience) 140 :group 'convenience)
140 141
141 (defgroup bs-appearence nil 142 (defgroup bs-appearence nil
142 "Buffer Selection appearence: Appearence of bs buffer menu." 143 "Buffer Selection appearence: Appearence of bs buffer menu."
143 :group 'bs) 144 :group 'bs)
1355 mode-name) 1356 mode-name)
1356 1357
1357 (defun bs--get-file-name (start-buffer all-buffers) 1358 (defun bs--get-file-name (start-buffer all-buffers)
1358 "Return string for column 'File' in Buffer Selection Menu. 1359 "Return string for column 'File' in Buffer Selection Menu.
1359 This is the variable `buffer-file-name' of current buffer. 1360 This is the variable `buffer-file-name' of current buffer.
1360 If current mode is `dired-mode' or shell-mode it returns the 1361 If current mode is `dired-mode' or `shell-mode' it returns the
1361 default directory. 1362 default directory.
1362 START-BUFFER is the buffer where we started buffer selection. 1363 START-BUFFER is the buffer where we started buffer selection.
1363 ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu." 1364 ALL-BUFFERS is the list of buffer appearing in Buffer Selection Menu."
1364 (let ((string (copy-sequence (if (member major-mode 1365 (let ((string (copy-sequence (if (member major-mode
1365 '(shell-mode dired-mode)) 1366 '(shell-mode dired-mode))